Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
How to get text Color of TRichEdit
I am in need to know how to get the text color of
a particular line in a TRichEdit.
The lines in my RichEdit has one or more differnt colors.
How can I know the text color of a particuluar Line.
For example,if the 5th line text is Blue color and the
other Lines Black,how can I know that 5th line text is Blue in color.
The properties DefAttributes and SelAttributes are only to set
the color and change color for selected Lines.
Is there any way to get what color is the text for a particular line.
Bigger thanks for your replies.
0 · ·