RV.AddNL();

General TRichView support forum. Please post your questions here
Post Reply
skydiablo
Posts: 16
Joined: Wed Feb 14, 2007 1:31 pm

RV.AddNL();

Post by skydiablo »

hi... (sorry for my bad english, maybe someone can german ?)

i have install the trail version from the TRichView and i love it :D

but i have a problem, i have see in the chat-demo like this:

Code: Select all

rv.addNL(...);
and this i call many times, but all text will be show in ONE line. i want to do the same. one line with diffrent styles (bold, italic...color, first ident, left ident...) but if i call "addNL" i get a NEW line... how can i say, all textes with diffrent styles in ONE line ?

greez & BIG THX !!!

sky...
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

To add text on the same line, pass -1 in ParaNo paramer.
For example:

Code: Select all

rv.AddNL('text 1 ', 0, 0);
rv.AddNL('text 2 ', 1, -1);
rv.AddNL('text 3 ', 2, -1);
rv.Format;
skydiablo
Posts: 16
Joined: Wed Feb 14, 2007 1:31 pm

Post by skydiablo »

i see, THX !!!

sky...
Post Reply