InfoConnect for Airlines
SearchText(String,Int32,Int32,FindOption) Method


Text to be searched on the screen.
Row position from which to start search.
Column position from which to start search.
Specifies the direction in which text is searched.
Searches the specified text starting from the specified screen location.
Syntax
'Declaration
 
Overloads Function SearchText( _
   ByVal text As String, _
   ByVal startRow As Integer, _
   ByVal startColumn As Integer, _
   ByVal findoption As FindOption _
) As ScreenPoint
'Usage
 
Dim instance As IAlcScreen
Dim text As String
Dim startRow As Integer
Dim startColumn As Integer
Dim findoption As FindOption
Dim value As ScreenPoint
 
value = instance.SearchText(text, startRow, startColumn, findoption)

Parameters

text
Text to be searched on the screen.
startRow
Row position from which to start search.
startColumn
Column position from which to start search.
findoption
Specifies the direction in which text is searched.

Return Value

Screen Point object.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeException Thrown if the startRow or startColumn parameters are outside the range of valid values: (1 to Rows) or (1 to Columns).
See Also