InfoConnect for Unisys VBA Guide
GetCharacters Function (Screen)
The screen row position.
The screen column position.
The number of characters to obtain.
Gets ScreenCharacter objects from the specified location, each representing one character at a screen location.
Syntax
object.GetCharacters( _
   ByVal row As Long, _
   ByVal column As Long, _
   ByVal length As Long _
) As ScreenCharacter()

Parameters

row
The screen row position.
column
The screen column position.
length
The number of characters to obtain.

Return Value

Array of ScreenCharacter for the specified position.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeException This exception is thrown if the row or column parameters are outside the range of valid values: (1 to Rows) or (1 to Columns).
Remarks
The length argument specifies the number of screen bytes to get. In the single-byte character set (SBCS), the number of screen bytes is the same as that of ScreenCharacter objects. In the double-byte character set (DBCS), the two numbers can be different. If the last byte is only half of a DBCS character, the last byte is not returned.
See Also

 

 


2015 Attachmate

Send Feedback