Translate page

Attribute_(Property)


Retrieve the attribute byte for the specified field.

Property Get Attribute(cursor As CursorPos) As Integer

Parameters

NoNameTypeOptionalDefaultDescription

1

cursor

CursorPos

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)




QWS3270 Automation copyright © Jolly Giant Software Inc. All rights reserved.