Difference between revisions of "READ MENU BAR"
Yvonnemilne (Talk | contribs) |
Helengeorge (Talk | contribs) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Purpose== | ==Purpose== | ||
Activate a FoxBASE+ style pull-down menu system | Activate a FoxBASE+ style pull-down menu system | ||
Line 41: | Line 34: | ||
menu 2,modify 5,5 | menu 2,modify 5,5 | ||
menu 3,data,9,9 | menu 3,data,9,9 | ||
+ | |||
// Activate the pull-down menu system | // Activate the pull-down menu system | ||
row = 1 | row = 1 | ||
Line 49: | Line 43: | ||
==Products== | ==Products== | ||
− | Recital | + | Recital |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Commands]] | [[Category:Commands]] | ||
+ | [[Category:Menus]] | ||
+ | [[Category:Menus Commands]] |
Latest revision as of 16:08, 12 November 2009
Contents
Purpose
Activate a FoxBASE+ style pull-down menu system
Syntax
READ MENU BAR TO <memvar1>,<memvar2>
[SAVE]
[TIMEOUT <expN>]
See Also
Description
The READ MENU BAR command activates a pulldown menu system. The <memvar1> and <memvar2> variables are used to position the light bar menu on the required pulldown. On selection of a pulldown item, the variables return the item selected. The menu clears from the screen after a menu selection is made, unless the SAVE option is specified. The SAVE option causes the menu to remain on the screen after a menu selection is made.
As this is the last step in creating a pulldown menu system, menu arrays and menu bars must be initialized and installed prior to using the READ MENU BAR command.
SAVE
The menu options are not released and can be activated by another READ MENU BAR command.
TIMEOUT <expN>
The TIMEOUT clause determines how long in seconds, <expN>, the READ MENU BAR will wait for user input before exiting automatically.
Example
// Install the pull-down menu system menu bar top,3 menu 1,files,7,7 menu 2,modify 5,5 menu 3,data,9,9 // Activate the pull-down menu system row = 1 col = 1 read menu bar to row, col save
Products
Recital