Page 1 of 1

RV.AddNL();

Posted: Wed Feb 14, 2007 5:05 pm
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...

Posted: Thu Feb 15, 2007 8:59 am
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;

Posted: Thu Feb 15, 2007 11:42 am
by skydiablo
i see, THX !!!

sky...