RibbonApplicationMenu control
A RibbonApplicationMenu control defines an application menu which
can be associated with the application button
(RibbonApplicationButtonItem) in the RibbonBar control. The application
menu is the main menu of your application; it contains a master menu and a
recent menu. For more about the application menu, see the section called “Introduction to RibbonBar items” in Users Guide.
The RibbonApplicationMenu control is the child object of the
RibbonApplicationButtonItem control, and is the parent object of the
RibbonMenuItem control: RibbonBar > ApplicationButton >
ApplicationMenu > MenuItem. For the hierarchical structure of the
ribbon controls and how to get and set them, refer to the section called “Accessing the RibbonBar items in the hierarchy” in Users Guide.
Events
This control has no events or user events.
Properties
|
RibbonApplicationMenu property |
Datatype |
Description |
|---|---|---|
|
ClassDefinition |
PowerObject |
An object of type PowerObject containing |
Functions
|
RibbonApplicationMenu function |
Datatype returned |
Description |
|---|---|---|
|
Long |
Adds a menu separator to the master menu of the |
|
|
String |
Returns the name assigned to the |
|
|
Integer |
Removes all recent menu items from the application |
|
|
Long |
Removes a master menu item from the application |
|
|
Integer |
Removes a recent menu item from the application |
|
|
Integer |
Creates a reference to a context-specific instance |
|
|
Integer |
Gets the master menu item of the application |
|
|
Long |
Determines the total number of the master menu |
|
|
PowerObject |
Returns a reference to the name of the parent |
|
|
Integer |
Gets the recent menu item of the application |
|
|
Long |
Determines the total number of the recent menu |
|
|
Integer |
Gets the title of the recent menu list in the |
|
|
Long |
Inserts a master menu item at the specified |
|
|
Long |
Inserts a master menu item as the first item in the |
|
|
Long |
Inserts a master menu item as the last item in the |
|
|
Long |
Inserts a recent menu item at the specified |
|
|
Long |
Inserts a recent menu item as the first item in the |
|
|
Long |
Inserts a recent menu item as the last item in the |
|
|
Integer |
Adds the specified event to the end of the event |
|
|
Integer |
Sets a master menu item for the application menu in |
|
|
Integer |
Sets a recent menu item for the application menu in |
|
|
Integer |
Sets the title for the recent menu list in the |
|
|
Integer |
Triggers a specified event in the control and |
|
|
Object |
Returns the type of the control. |