XADpopupmenu


Purpose
Creation of a pop-up menu.
Synopsis
function XADpopupmenu(menuitems:set of string):string
Argument
menuitems 
Menu items
Return value
Selected item, or empty string if no selection was made.
Example
To create a menu with the items Action A and Action B separated by a line, use the following:
choice:=XADpopupmenu({"ActionA", "XADseparator", "Action B"}) 
Further information
It is customary for user interfaces to display a menu of options when the user right-clicks on something. This routine achieves just that. When the user makes a choice, it is returned as a string. If the user does not select anything, the returned string will be empty.


If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.