Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Grumpfish Library 3.2 - <b>waitoff()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
WAITOFF()

    This restores the affected portion of the screen after calling
    the WAITON() function.  It will not do anything unless you have
    first called WAITON().

    Syntax

    WAITOFF( [<sound>] )


    Optional Parameter (Clipper 5 version only)

    <sound> allows you to force WAITOFF() to use the tones even if
    WAITON() was silent.  To use this parameter, you should pass
    the word SOUND, ON, or NOISE (not enclosed by quotes).  See
    below for a demonstration of this parameter.

    Return Value

    Nada

    Notes

    This function will restore the screen to its pre-WAITON() state.
    It will also optionally use descending tones to provide aural
    feedback to the user (who may have strayed away from their desk).

    Sample usage

    #include "grump.ch"                     
                                            
    USE Sales                               
    WAITON('Indexing file... please wait')  
    INDEX ON lname+fname TO customer        
    WAITOFF()                               
    // force sound to be on - Clipper 5 only
    WAITON('Indexing... please wait', .f.)  
    INDEX ON lname+fname TO customer        
    WAITOFF(sound)                          

    Clipper 5.0 Notes

    See WAITON() for specifics.

See Also: WAITON()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson