Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Flipper 6.0 Help File - <b>menu_only()</b> c_exam04 http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
MENU_ONLY()                                                         C_EXAM04
   Opens up a menu exclusively.

   Syntax
         MENU_ONLY(nMenuNum [,nDefaultActive])
                        or
         MENU_ONLY(aArrayNames,nTotalNumber,nVisible,nFont,nRow,nColumn)

   Arguments
         nMenuNum          Sets the number of the menu to open.
         OPTIONAL PARAMETERS
         nDefaultActive    Set the item specified on.
               or
         aArrayNames       Clipper array with menu text items
         nTotalNumber      Total number of items
         nVisible          Number visible items
         nFont             Font handle
         nRow              Row
         nColumn           Column

   Returns
         Returns the menu item number selected or a 0 if no selection was
         made.

   Description
         MENU_ONLY() opens up a menu for exclusive use. All other activities
         are suspended until a selection is made. Once a selection has been
         made with the left mouse button, the menu is put to sleep. If the
         menu is of a type that saves the background, the screen is restored.

         MENU_ONLY() also works with the keyboard keys: Arrow Keys, Page Up,
         Page Down, Home, End, and Return.

         The second type of MENU_ONLY() opens a scrollable menu in which more
         items can be available than are displayed. A scroll bar is included
         as part of the menu. This special type of MENU_ONLY() does not need a
         MENU_OPEN() call since it opens the menu and closes it at the end of
         the processing.

See Also: MENU_COLOR() MENU_EDIT() MENU_ITEM() MENU_OPEN()

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