RibbonMenu control
A RibbonMenu control defines a ribbon menu which can be associated
with the tab button, large button, or small button in the RibbonBar
control. For more about the ribbon menu, see the section called “Introduction to RibbonBar items” in Users Guide.
The RibbonMenu control could be the child object of the
RibbonTabButtonItem, RibbonLargeButtonItem, and RibbonSmallButtonItem
controls, and is the parent object of the RibbonMenuItem control:
RibbonBar > Category > Panel > [Group >]
LargeButton/SmallButton > RibbonMenu > MenuItem, or RibbonBar >
TabButton > RibbonMenu > 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
|
RibbonMenu property |
Datatype |
Description |
|---|---|---|
|
ClassDefinition |
PowerObject |
An object of type PowerObject containing |
Functions
|
RibbonMenu function |
Datatype returned |
Description |
|---|---|---|
|
Long |
Adds a menu separator to the ribbon |
|
|
String |
Returns the name assigned to the |
|
|
Long |
Deletes an item from the ribbon |
|
|
Integer |
Creates a reference to a context-specific instance |
|
|
Integer |
Gets an item of the ribbon menu. |
|
|
Long |
Determines the total number of items in the ribbon |
|
|
PowerObject |
Returns a reference to the name of the parent |
|
|
Long |
Inserts an item at the specified position in the |
|
|
Long |
Inserts an item as the first item in the ribbon |
|
|
Long |
Inserts an item as the last item in the ribbon |
|
|
Integer |
Adds the specified event to the end of the event |
|
|
Integer |
Sets a menu item for the ribbon |
|
|
Integer |
Triggers a specified event in the control and |
|
|
Object |
Returns the type of the control. |