OPEN-POPUP¶
Introduction¶
OPEN-POPUP
method is available on all widget types where popup menu can be defined using POPUP-MENU
. The method will display the assigned popup menu at the current mouse cursor location. When no popup menu is assigned to the widget calling POPUP-MENU
will be a no-op.
This feature is not yet available in the FWD trunk branch.
Syntax¶
OPEN-POPUP.
Example¶
define button btn. define frame f btn. def menu m menu-item mm label "An item". assign btn:popup-menu = menu m:handle. enable all with frame f. on choose of btn do: btn:open-popup(). end. wait-for close of this-procedure.