Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.2 . The Guide To CA-Clippe - <b>set message</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 SET MESSAGE
 Set the @...PROMPT message line row
------------------------------------------------------------------------------
 Syntax

     SET MESSAGE TO [<nRow> [CENTER | CENTRE]]

 Arguments

     TO <nRow> specifies the message row position.

     CENTER | CENTRE centers the message on the specified row.

     Specifying SET MESSAGE TO 0 or SET MESSAGE TO without an argument
     suppresses the display of messages.

 Description

     SET MESSAGE is a menu command that defines the screen row where the
     @...PROMPT messages display.  When a CA-Clipper program is invoked the
     default message row value is zero, suppressing all defined messages.
     Messages appear on <nRow>, column 0 unless the CENTER option is used.

 Examples

     .  This example creates a small lightbar menu with an activated
        and centered message line:

        SET MESSAGE TO 23 CENTER
        SET WRAP ON
        @ 5, 5 PROMPT "One" MESSAGE "Choice one"
        @ 6, 5 PROMPT "Two" MESSAGE "Choice two"
        MENU TO nChoice
        //
        IF nChoice == 0
           EXIT
        ELSEIF nChoice == 1
           Proc1()
        ELSEIF nChoice == 2
           Proc2()
        ENDIF

 Files:  Library is CLIPPER.LIB.

See Also: @...PROMPT MENU TO SET WRAP

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