Purpose |
To display an array of text with attributes in a rectangular region. |
||||||||||||
Syntax |
winio@('%N.Mtx[options]', text, attrib, ncols, mrows) |
||||||||||||
Modifiers |
Caret (^) - the call-back is called when a keyboard character is pressed and the control is in focus. The program can then update the text array. |
||||||||||||
Description |
The text array text is displayed in a box with ncols columns and mrows rows. Initially only N columns and M rows are visible and a scroll bar is provided. Attributes for each character are provided through the array attrib, with each character set to a colour index value in the range 0 to 255. Colour indexes are defined in order by (%tc (Text Colour), %ty (Text Array Background)) format pairs. %tx can be preceded by a pivot (%pv (Pivot)). options can include:
See Text array for further details. |
||||||||||||
Example |
winio@('%^60.15tx', text, attrib, 80, 20, cb_func) |
||||||||||||
See also |