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