SetSelectionStartPos Method (IbmScreen)
Sets starting coordinates for selecting text. The default start position is the current cursor position.
This sample selects a text area and assigns it to a screen region.
Private Sub SelectScreenArea()
Dim screenRegionIbm As ScreenRegion
'Select the text area
ThisIbmScreen.SetSelectionStartPos 5, 5
ThisIbmScreen.ExtendSelection 21, 21
'Get the selected screen region
Set screenRegionIbm = ThisIbmScreen.selection
MsgBox ("Start Row = " & screenRegionIbm.StartRow & ", End Column = " & screenRegionIbm.EndColumn)
End Sub