CT_GETFLDCOL

 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()

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.