C5_SETPOS

 SETPOS()
 Move the cursor to a new position
------------------------------------------------------------------------------
 Syntax

     SETPOS(<nRow>, <nCol>) --> <nRow>

 Arguments

     <nRow> and <nCol> define the new screen position of the cursor.
     These values may range from 0, 0 to MAXROW(), MAXCOL().

 Returns

     SETPOS() always returns <nRow>

 Description

     SETPOS() is an environment function that moves the cursor to a new
     position on the screen.  After the cursor is positioned, ROW() and COL()
     are updated accordingly.  To control the shape and visibility of the
     cursor, use the SETCURSOR() function.

 Examples

     .  This example moves the cursor to a new position then displays
        a string to the screen using a console command, ??:

        SETPOS(1, 1)
        ?? "Hello world"

 Files   Library is CLIPPER.LIB.

See Also: ROW() SET CURSOR SETCURSOR()

 

Advertisements

One response to “C5_SETPOS

  1. Pingback: C5 UI Global Settings | Viva Clipper !

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.