Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
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.