|
Return the display attributes for the terminal emulator for a
specified cell.
Syntax
object.Attribute( X, Y )
Parameters
- X
- An integer value that specifies a horizontal position in the
virtual display buffer. This value must be in the range of 0 through
the number of Columns -1.
- Y
- An integer value that specifies a vertical position in the
virtual display buffer. This value must be in the range of 0 through
the number of Rows -1.
Return Value
If an invalid position is specified, the method returns -1.
Otherwise, the method returns a mask of graphic attributes for the
display position. The following table lists the attributes that are
recognized by the control. The value returned by the method is a
combination of the bits that correspond to these values.
Value |
Description |
0 |
Normal display, no attributes enabled |
1 |
Reverse video attribute |
2 |
Bold attribute (use BoldColor color to display text) |
4 |
Dim attribute |
8 |
Blink attribute (not supported) |
16 |
Underline attribute |
32 |
Hidden attribute |
64 |
Protected attribute (not supported) |
128 |
Graphics attribute |
See Also
Attributes Property,
Columns Property,
Rows Property
|
|