C5_SET CURSOR

SET CURSOR
 Toggle the screen cursor on or off
------------------------------------------------------------------------------
 Syntax

     SET CURSOR ON | off | <xlToggle>

 Arguments

     ON enables the cursor display.

     OFF disables the cursor display.

     <xlToggle> is a logical expression that must be enclosed in
     parentheses.  A value of true (.T.) is the same as ON, and a value of
     false (.F.) is the same as OFF.

 Description

     SET CURSOR toggles the screen cursor on or off.  When the CURSOR is OFF,
     keyboard entry and screen display are unaffected.  The cursor is merely
     hidden and data entry may still be accomplished without the cursor being
     visible.  ROW() and COL() are updated as if the cursor were visible.

     This command suppresses the cursor while the screen is being painted.
     Ideally, the only time the cursor shows in a production program is when
     the user is editing GETs, MEMOEDIT(), or some kind of line edit.

 Examples

     .  This example shows a typical use of SET CURSOR:

        LOCAL lAnswer := .F.
        @ 24, 0
        @ 24, 15 SAY "Do you want to QUIT? [Y/N]";
           GET lAnswer;
           PICTURE "Y"
        SET CURSOR ON
        READ
        SET CURSOR OFF

 Files   Library is CLIPPER.LIB.

See Also: COL() ROW() SET CONSOLE SETCURSOR() SETPOS()

 

3 responses to “C5_SET CURSOR

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

  2. Pingback: C5 User Interface | Viva Clipper !

  3. Pingback: C5 Commands | 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.