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
 Rich Editor and VCL Style are causing problems
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

yogiyang

India
725 Posts

Posted - Nov 23 2019 :  05:22:07  Show Profile  Reply
Hello,

If we apply any VCL Style the text of Rich Text Editor is not visible especially when the style selected is dark.

I applied Glossy Theme/Style to the demo project RichEdit.

How can we solve this problem?

See the screen shot below:





Yogi Yang

yogiyang

India
725 Posts

Posted - Nov 23 2019 :  09:14:34  Show Profile  Reply
Hello,

On further testing, I found that if we apply any dark Theme/Style the font color of the text in Editor gets set to White color do what you may to change the color of text it does not change!

TIA



Yogi Yang
Go to Top of Page

Sybren

32 Posts

Posted - Mar 22 2023 :  02:51:09  Show Profile  Reply
Hi Yogi,

I also had the same issue recently and I tried to figure out what caused it. And it turned out to be quite simple: when you set the TIERichEdit component's 'StyleElements' value of 'seFont' to 'false' then all colours will be allowed again. It happily worked for me and it surely made my day.

Sybren
Go to Top of Page

xequte

38182 Posts

Posted - Mar 23 2023 :  04:08:39  Show Profile  Reply
Thanks Sybren,

Not sure how this message slipped through the cracks the first time around, but I appreciate you updating the topic.


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