TApxTerminal.CharSet

TApxTerminal

property CharSet [aRow, aCol : Integer] : Byte

Accesses the character set of text in the display.

The Async Professional CLX terminal supports the notion of different character sets for different text on the display. Normally, the text is shown in one character set only, but in certain cases (for example, the line draw glyphs with the VT100 terminal) the glyphs shown on the terminal are drawn from other character sets. Rather than define an enumerated type or class for each character set used by the terminal, character sets are identified by an anonymous byte value. It is up to the emulator to define which byte value represents which character set.

CharSet enables the direct manipulation of the character set for characters displayed by the terminal. CharSet is an array property indexed by a combination the row number (aRow) and the column number (aCol). Both aRow and aCol are one-based: the home position of the terminal display is at row 1 column 1. Note, however, that if you have a scrollback buffer that aRow can take on negative values, as well, to identify non-visible rows in the scrollback buffer.

However, do notice that this direct manipulation is inefficient.

See also: Attributes, BackColor, ForeColor