Difference between revisions of "PROMPT()"
Yvonnemilne (Talk | contribs) |
Helengeorge (Talk | contribs) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
==Purpose== | ==Purpose== | ||
Function to return the prompt of the most recently selected pop-up or menu option | Function to return the prompt of the most recently selected pop-up or menu option | ||
Line 12: | Line 8: | ||
==See Also== | ==See Also== | ||
− | [[ACTIVATE POPUP]], [[ | + | [[ACTIVATE POPUP]], [[BAR()]], [[BARCOUNT()]], [[BARPROMPT()]], [[DEFINE BAR]], [[DEFINE MENU]], [[DEFINE POPUP]], [[MENU()]], [[MENUITEM()]], [[ON BAR]], [[ON EXIT BAR]], [[ON EXIT MENU]], [[ON EXIT POPUP]], [[ON POPUP]], [[ON SELECTION BAR]], [[ON SELECTION MENU]], [[ON SELECTION POPUP]], [[PAD()]], [[POPUP()]], [[SET COMPATIBLE]] |
Line 35: | Line 31: | ||
==Products== | ==Products== | ||
− | Recital | + | Recital |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
+ | [[Category:Menus]] | ||
+ | [[Category:Menus Functions]] |
Latest revision as of 14:59, 7 December 2009
Purpose
Function to return the prompt of the most recently selected pop-up or menu option
Syntax
PROMPT()
See Also
ACTIVATE POPUP, BAR(), BARCOUNT(), BARPROMPT(), DEFINE BAR, DEFINE MENU, DEFINE POPUP, MENU(), MENUITEM(), ON BAR, ON EXIT BAR, ON EXIT MENU, ON EXIT POPUP, ON POPUP, ON SELECTION BAR, ON SELECTION MENU, ON SELECTION POPUP, PAD(), POPUP(), SET COMPATIBLE
Description
The PROMPT() function returns the prompt of the most recently selected Xbase style pop-up or menu option. If there are no active pop-ups or the [ABANDON] key was pressed, the PROMPT() function will return a null string. If the prompt has been defined using the DEFINE POPUP command, the PROMPT() function will return the selected menu option as a character string. The command SET COMPATIBLE must be set ON when using Xbase style menus.
Example
define popup popup_4; from 1,26 define bar 1 of popup_4; prompt "Bar 1" define bar 2 of popup_4; prompt "Bar 2" define bar 3 of popup_4; prompt "Bar 3" on selection popup popup_4 set message to PROMPT() set status on activate popup popup_4
Products
Recital