Products Downloads


French version


 

Name of the menu item (i.e. a command or submenu item) activated by the user clicking on it. This property is used to identify the item that is added dynamically by the ADD_MENU_ITEM method when the user clicks on it.

Note that, unlike items defined during the layout design of the Menu object, dynamically-added items do not have an event block in the 4GL editor.

Adelia type

ALPHA(128).

Accessibility

Read.

Conditions for use

Used in the onClickDynItem event processing block to identify the menu item that triggered the event.

Default value

*BLANK.

 

 

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.

 

 

Name of the object that caused the context-sensitive menu to open. This name is the name of the Adelia object associated with the menu.

Note that a Menu object can be associated with multiple Adelia and non-Adelia objects.

For example, if a menu is associated with multiple "column" objects in a TABLE LIST, this property identifies the column to which to apply a process.

Adelia type

ALPHA(128).

Accessibility

Read.

Conditions for use

This property is ignored if the Menu object is a context-sensitive menu. It can be used in the event processing blocks of "command" menu items or the Menu object's events.

Default value

*BLANK.

 

 

Visibility of the object.

Adelia type

BOOL.

Accessibility

Read / Write.

Conditions for use

none.

Default value

*TRUE.

 

 

 

 

 

 

↑ Top of page