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
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 How to focus on a TextLayer so delete key works
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic

116 Posts

Posted - Jan 11 2020 :  11:37:43  Show Profile  Reply
Hey Nigel,

How do I programatically select a text layer so it is highlighted
("grabbed") and will respond to pressing the "delete" key?

Seems to be default behavior to delete selected image(s) by pressing "delete" key but a text layer may have grab-handles around it but not respond to "delete" key.

Happy New Year,


116 Posts

Posted - Jan 11 2020 :  11:43:18  Show Profile  Reply
Happens upon adding an ieTextLayer that layer is "grabbed" but not responding to "delete" key.
Go to Top of Page


5522 Posts

Posted - Jan 12 2020 :  21:27:04  Show Profile  Reply

I tested this using the layers demo by creating three layers and calling this code:

  ImageEnView1.LayersCurrent := ImageEnView1.LayersCount - 1;

It worked as expected (clicking Delete removed the text layer).

Can you give me more information?

Xequte Software
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To: