Liberty BASIC Help Online

CURSOR
 
Description:
 
The CURSOR command makes it easy to change the mouse pointer to be one of 5 predefined shapes.
 
    NORMAL= the default pointer
    ARROW= the standard Windows arrow
    CROSSHAIR= a + shaped pointer
    HOURGLASS= the Windows hourglass
    TEXT= the text insertion I-beam
 
Example:
 
    cursor hourglass
    for i = 1 to n
        'perform some work
    next i
    cursor normal
 
The program's code is responsible for setting the cursor back to the default (normal) when appropriate.  If a runtime error halts a program, the cursor will automatically revert to normal. 


Copyright (C) 2003 Shoptalk Systems
Liberty BASIC - http://www.libertybasic.com/