Tests whether the specified screen location is a field attribute position.
expression.IsAttribute( _
ByVal As Integer, _
ByVal column As Integer _
) As Boolean
where
expression is a variable that represents a
IbmScreen Object
Parameters
- row
- Field row location.
- column
- Field column location.
Return Value
The location is a field attribute position or not.
This example prints the row and column of any locations that are field attribute positions.
Sub IsAttributeExample()
Dim i, y As Integer
For i = 1 To ThisIbmScreen.rows
For y = 1 To ThisIbmScreen.columns
If ThisIbmScreen.IsAttribute(i, y) = True Then
Debug.Print "field attribute location: row " & i & "column " & y
Else
Debug.Print "None"
End If
Next
Next
End Sub