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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Text formatting issue with TIERichEdit in ImageEn 14.2.7

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
PeterPanino Posted - Dec 23 2025 : 17:48:55
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;








2   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Dec 25 2025 : 20:54:52
Hi Peter

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

Nigel
Xequte Software
www.imageen.com
PeterPanino Posted - Dec 24 2025 : 09:54:22
I have now implemented my own font control:



Please note the Splitter control at the right side of the font box.