Reflection Desktop VBA Guide
Attachmate.Reflection.Objects.Emulation.IbmHosts Library / Attachmate.Reflection.Objects.Emulation.IbmHosts Library / IbmScreen Object / FindField2 Method
Start row position.
Start column position.
Length of the field.
A FindOption enumeration value that specifies the direction to search.
In This Topic
    FindField2 Method
    In This Topic
    Locates a field that matches the specified field length, starting from the specified row and column.
    Syntax
    expression.FindField2( _
       ByVal startRow As Integer, _
       ByVal startColumn As Integer, _
       ByVal fieldLength As Integer, _
       ByVal findoption As FindOption _
    ) As HostField object 
    where expression is a variable that represents a IbmScreen Object

    Parameters

    startRow
    Start row position.
    startColumn
    Start column position.
    fieldLength
    Length of the field.
    findoption
    A FindOption enumeration value that specifies the direction to search.

    Return Value

    If a field is found, a HostField object is returned. If no field is found, nothing is returned.
    Exceptions
    ExceptionDescription
    This exception is thrown if the startRow or startColumn parameters are outside the range of valid values: (1 to Rows) or (1 to Columns).
    Remarks
    A search can go up or down the host screen. The method returns the host field if it finds one.
    Example

    See Also