Attribute (Property)
Â
Â
IField::Attribute
Retrieve the attribute byte for the specified field.
Â
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
Â
Dim attribute as Integer
Dim myPos as CursorPos
myPos.row = 18
myPos.column = 45
attribute = field.Attribute(myPos)
 Dim myPos as CursorPos
myPos.row = 18
myPos.column = 45
attribute = field.Attribute(myPos)
Â
QWS3270 Automation copyright © Jolly Giant Software Inc. All rights reserved.
Â