InfoConnect API Guide
Attachmate.Reflection.Emulation.T27 Namespace / IT27Screen Interface / FindField Method / FindField(Int32,Int32,FieldType,FindOption) Method
Start row position.
Start column position.
Length of the field.
The direction of the search.


In This Topic
    FindField(Int32,Int32,FieldType,FindOption) Method
    In This Topic
    Locates a field that matches the specified field attributes, starting from the specified row and column.
    Syntax
    'Declaration
     
    
    Overloads Function FindField( _
       ByVal startRow As Integer, _
       ByVal startColumn As Integer, _
       ByVal fieldtype As FieldType, _
       ByVal findoption As FindOption _
    ) As HostField
    'Usage
     
    
    Dim instance As IT27Screen
    Dim startRow As Integer
    Dim startColumn As Integer
    Dim fieldtype As FieldType
    Dim findoption As FindOption
    Dim value As HostField
     
    value = instance.FindField(startRow, startColumn, fieldtype, findoption)

    Parameters

    startRow
    Start row position.
    startColumn
    Start column position.
    fieldtype
    Length of the field.
    findoption
    The direction of the search.

    Return Value

    A host field that is found, or null if it is not found.
    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).
    See Also