[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 GETFLDCOL()
 Determines the screen column of a GET field
------------------------------------------------------------------------------
 Syntax

     GETFLDCOL([<nField>]) --> nColumn

 Argument

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

 Returns

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

 Description

     GET FIELD COLUMN
     This function determines the first column of an input field.  If the
     <nField> parameter is not specified, the function returns the column for
     the currently active field.  With an invalid field number or in a
     situation where there is no active field, a value of -1 is returned.

 Examples

     .  Display the screen column for the second posted GET:

        @ 10, 10 GET....
        @ 10, 20 GET....
        @ 10, 30 GET.....

        ? GETFLDCOL(2)            // Result: 20

     .  Display the column for the currently active GET field:

        READ                      // Assuming field 1 is active
        Within a UDF or KEYTRAP procedure:
        ? GETFLDCOL()             // Result: 10


See Also: GETFLDROW() CURRENTGET() COUNTGETS()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson