trichview.support
Re: Adding New Line by Code |
Author |
Message |
Joel Cuyos |
Posted: 04/28/2005 6:35:58 Hi Sergey, Yes, I know that... but the second parameter only defines the property of the text being added. What I need is to put some color on the whole line where this text resides. I am afraid that I have to call 'ApplyParaStyleConversion' to make it work. Any ideas? Kind regards, Joel Sergey Tkachenko wrote: > The second parameter (2 in your example) is an index in the collection > RVStyle.TextStyles. It defines properties of text. The collection > item has BackColor property. > The third parameter (0 in your example) is an index in the collection > RVStyle.ParaStyles. It defines properties of paragraph. The > collection item has Background property. > > > > Hi, > > > > I can add a new line with these RVE.AddNL('sometext', 2, 0), but how > > can set the line's background color? > > > > Thanks. > > > > Kind regards, > > Joel |
Powered by ABC Amber Outlook Express Converter