Background Color | ||
---|---|---|
| ||
IField::Attribute |
Retrieve the attribute byte for the specified field.
Background Color |
---|
Property Get Attribute(cursor As CursorPos) As Integer |
Parameters
No | Name | Type | Optional | Default | Description |
---|---|---|---|---|---|
1 | cursor | No | - | A position inside the field for which to retrieve the attribute byte |
The returned value is the attribute byte of the field at the specified position or 0 if the screen is not formatted.
Sample Code
Background Color | ||
---|---|---|
| ||
Dim attribute as Integer Dim myPos as CursorPos myPos.row = 18 myPos.column = 45 attribute = field.Attribute(myPos) |
QWS3270 Automation copyright © Jolly Giant Software Inc. All rights reserved.