trichview.support
| Re: Using Richview as a log | 
| Author | Message | 
| Sergey Tkachenko | Posted: 06/19/2003 16:25:16 Some additional hints: 1) the fastest way to add new lines - calling one or more Add*** methods, then calling FormatTail. FormatTail works very fast - it reformats only newly added lines. Examples demonstrating something like logs/chats (all in Demos\Delphi\ - Multidemo\, subdemo "Chat simulation" - Assorted\Emoticons\ There is one more example - http://www.trichview.com/support/files/chatcodes.zip (it is interesting because it does not use a fixed set of text styles - required styles are created when they needed) 2) use DeleteParas to delete lines at the beginning efficiently (read the help on this method carefully) > Hey that works. Now I am starting to understand the role of the STYLE > component. | 
Powered by ABC Amber Outlook Express Converter