Name of the menu item (i.e. a command or submenu item) selected by the user clicking on it. This property is taken into account only if the Menu object is:
- a tab bar, in which case, the menu item must be a top-level item.
- an accordion menu, in which case no level restrictions apply to the item.
It is possible to graphically differentiate the selected menu item from the other items by setting styles for it (e.g. background color, text color, CSS class of the text or the item) when the Menu object's layout is designed.
In the case of a tab bar, assigning a submenu item name to this property does not cause the submenu to be displayed.
With an accordion menu, assigning a value to this property causes the submenus that form the selected item's path to be expanded so that the item is visible.
Adelia type |
ALPHA(128). |
Accessibility |
Read / Write. |
Conditions for use |
Assigning an item name to this property in the 4GL code does not trigger the associated event processing block. Assigning the *BLANK value deselects the selected item. |
Default value |
*BLANK. |