ScreenUPG Assembly > ScreenUPG Namespace > ScreenUPG Class : getStringEx Method |
'Declaration
Public Function getStringEx( _ 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 inAttr As Integer, _ ByVal inFlags As Integer _ ) As String
'Usage
Dim instance As ScreenUPG 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 inAttr As Integer Dim inFlags As Integer Dim value As String value = instance.getStringEx(inStartRow, inStartColumn, inEndRow, inEndColumn, inArea, inWrap, inAttr, inFlags)
int inStartRow = 1; int inStartColumn = 1; int inEndRow = 12; int inEndColumn = 10; int inArea = 0; int inWrap = ScreenUPG.ScreenUPG.WRAP_ON; int inAttr = ScreenUPG.ScreenUPG.SCREENATTR_PROTECTED; 'Get the text string starting at the home position from protected fields string visibleString = screen.getString(inStartRow, inStartColumn, inEndRow, inEndColumn, inArea, inWrap, inAttr);
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 visibleString As String
inStartRow = 1
inStartColumn = 1
inEndRow = 12
inEndColumn = 10
inWrap = 1
inArea = 0
inAttr = 1
'Get the text string starting at the home position from protected fields
visibleString = screen.getString(inStartRow, inStartColumn, inEndRow, inEndColumn, inArea, inWrap, inAttr)
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