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
 Text formatting issue with TIERichEdit in ImageEn 14.2.7
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

PeterPanino

1018 Posts

Posted - Dec 23 2025 :  17:48:55  Show Profile  Reply
The TIERichEdit font at design-time is initially set to:
Font.Name = Arial
Charset = DEFAULT_CHARSET

At run-time, I write in the TIERichEdit:
1234, 5678, abcd



Then I select: abcd:



Then I select another font by clicking the font-name box: The user expects the font to change only for the selected part of the text "abcd" (which is the default behavior in a text editor):



However, the font changes for the WHOLE TEXT!



Can you please fix this issue? Thank you!

HINT:
var
  SelAttr: TIETextAttributes;
begin
  SelAttr := IERichEdit1.SelAttributes;
  IERichEdit1.SelAttributes.Name := XXX.SelectedFont.Name;








PeterPanino

1018 Posts

Posted - Dec 24 2025 :  09:54:22  Show Profile  Reply
I have now implemented my own font control:



Please note the Splitter control at the right side of the font box.
Go to Top of Page

xequte

39297 Posts

Posted - Dec 25 2025 :  20:54:52  Show Profile  Reply
Hi Peter

The font setting issue is fixed in the latest beta. I've also added a splitter.

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