I can set the maximal number of lines for a message control.
It is a nice feature when I want to throw away old message lines and retain only the last 500 ones.
Can I do it in a Scilex control?
How many lines can handle a Scilex control?
- Ferenc Nagy
- VIP Member
- Posts: 215
- Joined: 24 Apr 2007 12:26
Maximal number of lines in Scilex control and in Message control
TIA, Regards,
Frank Nagy
Frank Nagy
- Thomas Linder Puls
- VIP Member
- Posts: 1424
- Joined: 28 Feb 2000 0:01
The messageControl in the messageForm have a limit line facility (setLines).
But the sciLexer does not (itself) have such a limit possibilities.
The sciLexer does not really have a limit on the number of lines (a line number can at most be 4 * 10 ^ 9). There may be some unknown limits, but in general it is limited by available memory.
Code: Select all
...
MessageForm = messageForm::display(This),
MessageControl = MessageForm:getMessageControl(),
MessageControl:setLines(200),
...
The sciLexer does not really have a limit on the number of lines (a line number can at most be 4 * 10 ^ 9). There may be some unknown limits, but in general it is limited by available memory.
Regards Thomas Linder Puls
PDC
PDC