Reflection Desktop VBA Guide
Attachmate.Reflection.Objects.Emulation.IbmHosts Library / Attachmate.Reflection.Objects.Emulation.IbmHosts Library / IbmScreen Object / IsAttribute Method
Field row location.
Field column location.
Example
In This Topic
    IsAttribute Method
    In This Topic
    Tests whether the specified screen location is a field attribute position.
    Syntax
    expression.IsAttribute( _
       ByVal row 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.
    Exceptions
    ExceptionDescription
    This exception is thrown if the row or column parameters are outside the range of valid values: (1 to Rows) or (1 to Columns).
    Example
    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
    See Also