public class MaxMenu extends Mbo implements MaxMenuRemote
This is a system level object.
The key attributes for this object are MenuType, ModuleApp, Position, and SubPosition.
The attributes in this object are as follows:
Attribute Name | Description |
---|---|
AccessKey | This can contain a keyboard shortcut for accessing this element from the UI.
For example, the "Clear" function could
be accessed via CTRL+ALT+C as well as by clicking a toolbar button.
|
ElementType | Specifies whether this record describes a module, application, option, header, or separator.
|
HeaderDescription | If this is a header (ElementType = HEADER ) or
this is a third-party program (ElementType = OTHER ), this is the label that will appear
in the UI.
|
Image | This can contain a filename for an image which can be displayed in the UI. |
KeyValue |
|
MenuType | Specifies whether this record pertains to the main menu, an application menu,
or an application toolbar.
|
ModuleApp | When MenuType is MODULE , this is a module name; foreign key to
MaxModules . For menu types APPMENU
and APPTOOL , this is an
application name; foreign key to MaxApps .
|
Position | Indicates the position of this element within the menu or toolbar. |
SubPosition | If this element appears under a header, SubPosition represents its sequence within this header, and will be > 0. Any element not under a header will have SubPosition = 0. |
TabDisplay | For menu and toolbar options, TabDisplay identifies the tabs in the UI where
the option can be displayed.
|
URL | When ElementType is OTHER , this is the URL for accessing that third-party application.
|
Visible | This flag indicates whether this element should be displayed in the UI. If Visible is No, the element will not be displayed. |
Below is a partial example of data pertaining to the Assets application's menu options, shown in the
sequence they would appear on the menu.
(Toolbar options would have the same format, but with MenuType = APPTOOL
.)