GetCharacter Method (IbmScreen)
Gets the ScreenCharacter at the specified location.
expression.GetCharacter( _
ByVal As Integer, _
ByVal column As Integer _
) As ScreenCharacter object
where
expression is a variable that represents a
IbmScreen Object
Parameters
- row
- The character row position.
- column
- The character column position.
Return Value
A screen character.This is a
ScreenCharacter Object that contains the character at the specified screen location.
This example tabs to the next field if the current location is protected.
Sub TabToNextField()
If ThisIbmTerminal.screen.GetCharacter(ThisIbmTerminal.screen.CursorRow, ThisIbmTerminal.screen.CursorColumn).IsProtectedField = True Then
Debug.Print "Protected"
ThisIbmTerminal.screen.SendControlKey ControlKeyCode_Tab
End If
End Sub