Hello everybody,
i try the TRichViewEdit component for future use in my own application.
I want make a chatwindow thats has a max line count of 100 lines.
Whenever comes a new line at the end of the TRichViewEdit than check the actual line count.
while bytlLineCount > MAX do Delete Line 0
How can i do this with the TRichViewEdit?
Thank you, Frank
How can i make a FIFO Window?
-
- Posts: 14
- Joined: Fri Jan 20, 2006 11:05 am
- Location: Germany
-
- Site Admin
- Posts: 17534
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Adding paragraphs: use Add*** methods, then call FormatTail.
Deleting paragraphs: DeleteParas (without subsequent call of Format or FormatTail)
You should calculate a number of paragraphs (chat messages) yourself.
(FormatTail and DeleteParas were implemented specially for chat/log windows. They do their work as quick as possible)
Deleting paragraphs: DeleteParas (without subsequent call of Format or FormatTail)
You should calculate a number of paragraphs (chat messages) yourself.
(FormatTail and DeleteParas were implemented specially for chat/log windows. They do their work as quick as possible)