property Attributes [aRow, aCol : Integer] : TApxTerminalCharAttrs
TApxTerminalCharAttr = (tcaBold, tcaUnderline, tcaStrikethrough,
tcaBlink, tcaReverse, tcaInvisible);
TApxTerminalCharAttrs = set of TApxTerminalCharAttr;
Accesses the attributes of text in the display.
Attributes enables the direct manipulation of the attributes for characters displayed by the terminal. Attributes 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.
The result value is a set of possible attributes. They are tcaBold for bold text; tcaUnderline for underlined text; tcaStrikethrough for text that has a line through it, as if it had been deleted (this text is struck through); tcaBlink for blinking text; tcaReverse for reversed text; and tcaInvisible for text that is not visible.
The following example sets all text on row 5 to blinking:
for I := 1 to ApxTerminal1.Columns do begin
ApxTerminal1.Attributes[5, I] :=
ApxTerminal1.Attributes[5, I] + [tcaBlink];
However, notice that this direct manipulation is inefficient.