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 add second text line in in-place editor?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  


392 Posts

Posted - Sep 11 2020 :  16:17:54  Show Profile  Reply
In the Layer Properties dialog, to input a SECOND TEXT LINE in a text-layer, you can use CTRL+RETURN to add a second line:

Otherwise, by hitting just the RETURN key, the Layer Properties dialog would CLOSE.

Unfortunately, the CTRL+RETURN trick does not work when editing the text in a text layer in-place after double-clicking a text layer:

In this case, CTRL+RETURN does NOTHING and the RETURN key always closes the in-place editor!

So, how can I add a second line in the text-layer in-place editor?


5500 Posts

Posted - Sep 13 2020 :  23:28:16  Show Profile  Reply
Hi Peter

To support carriage returns in Text layers you need to do one of the following:

- Enable rich formatting for the layer, e.g.:

TIETextLayer( ImageEnView1.CurrentLayer ).EnableFormatting := True;

- Enable returns in plain text layers, by enabling the following define in

{.$define AllowReturnsInTextLayers}

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