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
 RichText background while editing is causing problems

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
yogiyang Posted - Oct 22 2021 : 06:50:21
Hello Nigel,

I am using IE 10 currently. We are on verge of releasing an update of our software.

We have observed that when a user is editing Text in text layer the background of text layer is set as white. Because of this if the user has set the text color to clWhite then the text are not visible while editing.

How to get IE to show text in different color if the color of text is White?

TIA

Yogi Yang
2   L A T E S T    R E P L I E S    (Newest First)
yogiyang Posted - Nov 22 2021 : 23:37:03
Hello Nigel,

Thanks for the tip.

I managed to solve the Background color problem using following code:
TRichEdit(ActiveControl).Color := clLtGray


TIA

Yogi Yang
xequte Posted - Oct 25 2021 : 00:02:21
Hi Yogi

Unfortunately I do not know of a good solution to that. Perhaps we could match the existing background color of the text layer, but that would still be a problem if the layer was transparent (as the editor would need to have a background).

You can customize the editor background color yourself using the OnActivateTextEditor event.

https://www.imageen.com/help/TImageEnView.OnActivateTextEditor.html


Nigel
Xequte Software
www.imageen.com