C5_SET MESSAGE

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 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*

4 responses to “C5_SET MESSAGE

  1. Pingback: C5 UI – Menu System | Viva Clipper !

  2. Pingback: C5 User Interface | Viva Clipper !

  3. Pingback: C5 Commands | Viva Clipper !

  4. Pingback: C5_SET WRAP | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.