CT_GETFLDROW

 GETFLDROW()
 Determines the row of a GET field on the screen
------------------------------------------------------------------------------
 Syntax

     GETFLDROW([<nField>]) --> nRow

 Argument

     <nField>  Designates the number of the GET field for which the
     screen is determined.  The default is the currently active field.

 Returns

     GETFLDROW() returns the screen row for the first position of the
     currently active or specified field.  If there is an invalid parameter a
     value of -1 is returned.

 Description

     GET FIELD ROW
     This function determines the first row of an input field.  If the
     <nField> parameter is not specified, the function returns the row for
     the currently active field.  When <nField> is an invalid field number or
     if there are no active GET fields, a value of -1 is returned.

 Examples

     .  Display the row for the second posted GET:

        @ 10, 10 GET....
        @ 11, 20 GET....
        @ 12, 30 GET.....

        ? GETFLDROW(2)            // Result: 11
        READ                      // Assuming field 1 is active
        ? GETFLDROW()             // Result: 10

See Also: GETFLDCOL() CURRENTGET() COUNTGETS()

 

Tools — GET/READ Functions

Introduction GET/READ Functions
COUNTGETS()  Determines the number of posted GET fields
CURRENTGET() Determines the number of the currently active GET field
GETFLDCOL()  Determines the screen column of a GET field
GETFLDROW()  Determines the row of a GET field on the screen
GETFLDVAR()  Determines the name of a GET field
GETINPUT()   Keyboard input function similar to a GET field
GETSECRET()  Keyboard input function for hidden input similar to a GET field
RESTGETS()   Restores GET settings from an array
RESTSETKEY() Restores SET KEY..TO settings from an array
SAVEGETS()   Saves the GET settings of the active environment
SAVESETKEY() Saves SET KEY..TO settings in an array