Programming with Reflection

image\rwnprg32.gif GetDisplayText method

 

Syntax DisplayText = object.GetDisplayText(Row, Column, Chars)

 

Description

Returns text displayed in the host screen.

For example, the following commands set the value of the displayText variable equal to the display characters located in the terminal window starting at row 3, column 2 and continuing forward 30 characters:

 Dim displayText As String

 displayText = Session.GetDisplayText(3,2,30)

Arguments

Row Argument type: Integer
The row at which the selection of text begins. The first row is row 1. You can use rcMouseRow to specify the row where the mouse was last clicked.

Column Argument type: Integer
The column at which the selection of text begins. The first column is column 1. You can use rcMouseCol to specify the column where the mouse was last clicked.

Chars Argument type: Integer
The number of characters to be returned.

Return

DisplayText Return type: String
The screen text that is returned.

 

image\jump.gif Example

image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this command