Programming with Reflection

image\rwnprg32.gif GetFieldText method

 

Syntax Contents = object.GetFieldText(Row, Column, Chars)

 

Description

Returns the contents of a field in the host application. Use Row and Column parameters to identify the field whose text you want returned. Coordinates are based on 1,1 for the upper-left corner of the terminal window (as they appear on the status line if you move the cursor to the field you want to retrieve). The coordinates can be located anywhere within the field.

Arguments

Row Argument type: Integer
The row number at the beginning of, or within, the field. You can use rcMouseRow to specify the row where the mouse was last clicked.

Column Argument type: Integer
The column number at the beginning of, or within, the field. 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

Contents Return type: String
The field contents.

 

image\jump.gif Example

image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this command