trichview.com

trichview.support




Re: Colored line in TRichEdit in C++Builder


Return to index


Author

Message

Sergey Tkachenko

Posted: 06/11/2004 23:45:03


Do you need to set background color for the selected paragraphs?

See the demo in Demos\CBuilder\Editors\Editor 2\

(call ApplyParaStyleConversion and process OnParaStyleConversion event).


Or you can use RichViewActions - http://www.trichview.com/resources/actions/

(sorry, their C++Builder demo uses pascal form)


>

> Hello!

>     My name is Ioan BOGDAN and  i'd like to ask you something about

programming

> in C++Builder. I'm working to a project and I need some help for a thing:

> I have a TRichEdit on a form. How can I make a single line colored in that

> RichEdit, and the rest of the lines to remain the same? (for example, as

> if you would put a breakpoint in the source code editor in CBuilder: the

> editor is white and a single line is red)

>     I saw that the Rvedit has got something like this, when the paragraph

> background color can be changed. I think it is in the method

ApplyParaStyleConversion(PARA_COLOR).

>

>     Can you please tell me how is it possible to make this in C++ Builder?

>





Powered by ABC Amber Outlook Express Converter