ScreenUPG Assembly > ScreenUPG Namespace > ScreenUPG Class : findStringEx Method |
'Declaration
Public Function findStringEx( _ ByVal inText As String, _ ByVal inStartRow As Integer, _ ByVal inStartColumn As Integer, _ ByVal inEndRow As Integer, _ ByVal inEndColumn As Integer, _ ByVal inArea As Integer, _ ByVal inWrap As Integer, _ ByVal inDir As Integer, _ ByVal outRow As MutableInt, _ ByVal outColumn As MutableInt _ ) As Boolean
'Usage
Dim instance As ScreenUPG Dim inText As String Dim inStartRow As Integer Dim inStartColumn As Integer Dim inEndRow As Integer Dim inEndColumn As Integer Dim inArea As Integer Dim inWrap As Integer Dim inDir As Integer Dim outRow As MutableInt Dim outColumn As MutableInt Dim value As Boolean value = instance.findStringEx(inText, inStartRow, inStartColumn, inEndRow, inEndColumn, inArea, inWrap, inDir, outRow, outColumn)
public bool findStringEx( string inText, int inStartRow, int inStartColumn, int inEndRow, int inEndColumn, int inArea, int inWrap, int inDir, MutableInt outRow, MutableInt outColumn )
public: bool findStringEx( String^ inText, int inStartRow, int inStartColumn, int inEndRow, int inEndColumn, int inArea, int inWrap, int inDir, MutableInt^ outRow, MutableInt^ outColumn )
string inText = "PASSWORD"; int inStartRow = 1; int inStartCol = 0; int inEndRow = 12; int inEndCol = 80; int inArea = 0; int inWrap = ScreenUPG.WRAP_ON; int inDirection = ScreenUPG.DIRECTION_FORWARD; MutableInt outRow = new MutableInt(); MutableInt outCol = new MutableInt(); // Find the string bool found = screen.findStringEx(inText, inStartRow, inStartCol, inEndRow, inEndCol, inArea, inWrap, inDirection, outRow, outCol);
Dim inText As Integer
Dim inStartRow As Integer
Dim inStartCol As Integer
Dim inEndRow As Integer
Dim inEndCol As Integer
Dim inArea As Integer
Dim inWrap As Integer
Dim inDirection As Integer
Dim outRow As New Mutable.MutableInt
Dim outColumn As New Mutable.MutableInt
Dim found As Boolean
inText = PASSWORD
inStartRow = 1
inStartCol = 1
inEndRow = 12
inEndCol = 80
inArea = 0
inWrap = 1
inDirection = 0
'Find the string
found = screen.findStringEx(inText, inStartRow, inStartCol, inEndRow, inEndCol, inArea, inWrap, inDirection, outRow, outCol)
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2