ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Layer pos at runtime
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

peberhardt

Germany
21 Posts

Posted - Feb 25 2017 :  13:01:16  Show Profile  Reply
Hello,

i have 2 layers, and i want move the first layer in the left top corner

ImageEnView1.Layers[1].PosX := 0;
ImageEnView1.Layers[1].PosY := 0;
ImageEnView1.Update();

its ok when the main window not Changed whith and height

but wenn i make my window fullscreen then is the position not more
top and left....


thanks for Effort

Peter

w2m

USA
1990 Posts

Posted - Feb 25 2017 :  16:41:30  Show Profile  Reply
I have not seen this occur with ImageEn layers. Possibly you are doing something unexpected somewhere in your code. Please post a demo that duplicates the problem you describe and I'll look at it.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page

peberhardt

Germany
21 Posts

Posted - Feb 26 2017 :  13:11:38  Show Profile  Reply
Hello,

i have make 3 Pictures it's from Sample "Layers"












wath is then right code for move the picture or the layer to the top and the left



thank you

Peter
Go to Top of Page

xequte

38182 Posts

Posted - Feb 26 2017 :  14:58:29  Show Profile  Reply
Hi Peter

Have you set ImageEnView1.Center := False?

https://www.imageen.com/help/TImageEnView.Center.html

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: