hV_GUI — Text Box
TextBox is an intelligent box to display text.
Words are wrapped and new lines inserted at the space between them. When the box is full, the text is scrolled one line up to free space on the bottom for a new empty line. TextBox is an object with 4 functions:
Declaration only requires: |
Text is automatically formatted...
|
...and new lines scroll the text up.
|
Define
Parameters to define a text box are:
Required parameters
|
Optional parameters
|
Commands
Clear clears the box and place the cursor on top-leftmost position.
|
|
Scroll adds a new line to the text.
If required, the whole text is scrolled up. |
|
Print prints the text to the text box, filling the lines with entire words.
Two specific sequences in the text include:
If required, the whole text is scrolled up. |
|