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
 Complete editor question
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

pierrotsc

USA
497 Posts

Posted - Feb 24 2022 :  11:50:25  Show Profile  Reply
I am studying the complete editor program. the one taht opens with 3 Japanese images. It is called photoen i think.
When you open or create a new image, it opens a new tab. under this new tab, the code is supposed to be calling the imagenewlayer procedure but it does not.

Why not ?
Thanks
Pierre

xequte

38608 Posts

Posted - Feb 24 2022 :  15:36:08  Show Profile  Reply
Hi Pierre

If you click "Add Shape" and drag over the image it adds a shape layer. In my testing it correctly calls the ImageEnViewNewLayer() event.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

pierrotsc

USA
497 Posts

Posted - Feb 24 2022 :  15:38:35  Show Profile  Reply
That is correct, but when you open an image it is not called. is that normal ?
Go to Top of Page

xequte

38608 Posts

Posted - Feb 24 2022 :  15:55:39  Show Profile  Reply
Yes, that is by design. It is only called for a "new layer" and by default TImageEnView contains a single layer. It is initially blank and loading an image fills it (i.e. doesn't add a new layer).

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

pierrotsc

USA
497 Posts

Posted - Feb 24 2022 :  15:58:01  Show Profile  Reply
Ok, i get it. got to find out why when i open an image, it is selectable. my understanding was that the background was not selectable by default. Need to dig more into the documentation then.
Thank you for the help.
Go to Top of Page

xequte

38608 Posts

Posted - Feb 27 2022 :  20:52:19  Show Profile  Reply
Hi

You can specify some properties for the background layer when the form is initialized.

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