Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Artful Two for Clipper 5.0 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

Syntax

H_MENU(  aArray[, cMsg[, nRow[, nCol ]]] )

Purpose

A simple horizontal menu.

Arguments

     aArray -- character array of menu prompts

     cMsg -- message to precede menu; defaults to no message

     nRow -- row on which to place menu; defaults to 0

     nCol -- column at which to start menu; defaults to 0

Setup

aArray must be filled with menu prompts.

Example

     LOCAL message := "Choose your poison: ", ;
           poisons := { " Argument ", ;
                        " Abuse ", ;
                        " Both " ;
                       }

     ? H_MENU( poisons, message )

Returns

The number of the choice selected, or 0 if ESC pressed.

Side Effects

Clears the menu row completely.

Artful Calls

SYSCOLOR, PARTCOLOR

Source File

AA_HMENU.PRG

See Also: L_MENU() V_MENU() PD_MENU() AC_MENU()

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