The Menu Configuration dialog has the following properties:
Order
The relative position of a menu entry with respective to the other menu entries in the same hierarchy level. This affects the order that the menu entries are returned through the menu Cicode functions. If this field is left blank, it will take the default value of 0. The relevant menu entries will be returned at the start as a result. If more than one entry of the same order exists, they are displayed in the same order as they are defined in the database.
Level 1-4
Gives the menu hierarchy path of the entry. String length: 64 characters. Up to 4 levels of menu hierarchy are supported. Menu entries that have the same upper levels are considered to be under the same hierarchical branch.
Menu Command
The Cicode expression to be executed when the menu item is selected. String of 256 characters.
Symbol
The symbol to associate with the menu entry. The String length:128 characters. A symbol needs to be already defined in the project / included project, and specified in the format of <library name>.<symbol name>.
Comment
A comment about the menu entry. String of 128 characters.
Page
The page on which this entry will exist. If blank, the entry exists on every page.
Hidden when
Cicode expression to determine when the menu entry is hidden on the page. String of 256 characters.
Disabled when
Cicode expression to determine when the menu entry is disabled on the page. String of 256 characters.
Disabled style
A number to indicate how the disabled entry is displayed in the menu. It is up to the user to decide what the numbers mean.
Width
The width of the menu entry on the page. It is up to the user to decide what units to be used.
Checked
Whether the menu entry is initialized with a checked status.
Privilege
The user privilege of (0-8) necessary to select the menu entry.
Area
The user area (0-255) necessary to select the menu entry.
Note:At runtime, you can use the Menu family of Cicode functions to access the information entered in the Menu Configuration dialog.
See Also