trichview.com

trichview.support




Using Richview as a chat


Return to index


Author

Message

Tiberius

Posted: 06/27/2003 21:18:24


I would like to use a Richview as a display for a chat program.


The appearance of the messages is similar of the MSN Messenger, with the

following format:


-----------------------

John says:

Hello !!


Mary says:

How are you


John says:

Fine, and you ??

-----------------------


I use the method richview1.AddTextNL to add a line:

richview1.AddTextNL('John says:', stylenumber, -1, stylenumber);

richview1.AddTextNL('Hello !!', stylenumber, -1, stylenumber);

richview1.FormatTail;


e thus for ahead ...


The problem is that when occurs autoscroll, the line of the messages is dislocated

for top, being thus:


------------------------

John says:Hello !!

Mary says:How are you

John says:Fine, and you ??

------------------------


I need help urgently to solve this problem.


Regards, Tibérius





Powered by ABC Amber Outlook Express Converter