RibbonApplicationButtonItem control
A RibbonApplicationButtonItem control defines the application button
in the RibbonBar control. Only one application button is allowed in a
ribbon bar, therefore, you can get, set, or remove the application button
without needing to insert the application button first or identify the
application button by its handle. For more about the application button,
see the section called “Introduction to RibbonBar items” in Users Guide.
The RibbonApplicationButtonItem control is the child object of the
RibbonBar control, and is the parent object of the RibbonApplicationMenu
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
|
RibbonApplicationButtonItem property |
Datatype |
Description |
|---|---|---|
|
ClassDefinition |
PowerObject |
An object of type PowerObject containing |
|
Boolean |
Specifies whether the control is enabled (can be |
|
|
Long |
Identifies the handle associated with the |
|
|
RightToLeft |
Boolean |
Unsupported. |
|
String |
Specifies the tag value assigned to the |
|
|
String |
Specifies the text that displays in the |
|
|
Boolean |
Specifies whether the control is visible. Values TRUE — Control is visible. FALSE |
Functions
|
RibbonApplicationButtonItem function |
Datatype returned |
Description |
|---|---|---|
|
String |
Returns the name assigned to the |
|
|
Integer |
Creates a reference to a context-specific instance |
|
|
Integer |
Gets the application menu that is associated with |
|
|
PowerObject |
Returns a reference to the name of the parent |
|
|
Integer |
Adds the specified event to the end of the event |
|
|
Integer |
Sets an application menu to the ribbon application |
|
|
Integer |
Triggers a specified event in the control and |
|
|
Object |
Returns the type of the control. |