Menu selection references
Menu selection references can be used in formulas to access the selected entry of a menu widget.
Syntax:
#page.widget!selection
with
page - Name of the page containing the menu widget - optional
widget - Name of the referenced menu widget
!selection - Appendix, to access the selected menu entry
Remark
If the !selection appendix is specified, the reference returns the currently selected menu entry. This applies to menus and hierarchy menus.
The !selection appendix is automatically added to a menu widget reference if you click on the menu widget while holding down the CTRL key. Multiple clicks then switch between the reference with and without the appendix.
Examples
menu1!selection - returns the currently selected entry of the menu1 widget in the current page
#page1.menu1!selection - returns the currently selected entry of the menu1 widget in the page page1
Last updated