[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
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()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson