RibbonComboBoxItem control
A RibbonComboBoxItem control defines a combo box in the RibbonBar
control. For more about the combo box, see the section called “Introduction to RibbonBar items” in Users Guide.
The RibbonComboBoxItem control is the child object of the
RibbonPanelItem or RibbonGroupItem control (RibbonBar > Category >
Panel > [Group >] ComboBox). 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. But you can create user events and
bind them with this control. You can create the Modified user event, the
Selected user event, and the SelectionChanged user event. For how to
create the Modified user event, see Modified in PowerScript Reference; for how to create
the Selected user event, see Selected in PowerScript Reference; for how to create
the SelectionChanged user event, see SelectionChanged in PowerScript Reference.
Properties
|
RibbonComboBoxItem property |
Datatype |
Description |
|---|---|---|
|
ClassDefinition |
PowerObject |
An object of type PowerObject containing |
|
Boolean |
Specifies whether the user can enter text in the |
|
|
Boolean |
Specifies whether or not to automatically scale the When this |
|
|
Boolean |
Specifies whether the control is automatically |
|
|
Integer |
Specifies the height of the box of the ribbon combo If the AutoScale property |
|
|
Integer |
Specifies the width of the box of the ribbon combo If the AutoScale |
|
|
Boolean |
Specifies whether the control has a horizontal |
|
|
String |
Specifies the name of the modified user event to be |
|
|
Boolean |
Specifies whether the control is enabled (can be |
|
|
Long |
Identifies the handle associated with the |
|
|
String |
Specifies the label of the control. |
|
|
String |
Specifies the file name of the picture. |
|
|
Integer |
Specifies in pixels the display height of all the |
|
|
Integer |
Specifies in pixels the display width of all the |
|
|
String |
Specifies the text to be displayed as a PowerTip |
|
|
String |
Specifies the text to be displayed as a PowerTip |
|
|
RightToLeft |
Boolean |
Unsupported. |
|
String |
Specifies the name of the selected user event to be |
|
|
String |
Specifies the name of the selection changed user |
|
|
String |
Specifies whether items in the combo box is sorted |
|
|
String |
Specifies the tag value assigned to the |
|
|
String |
Specifies the text that displays in the text box of |
|
|
Boolean |
Specifies whether the control is visible. Values TRUE — Control is visible. FALSE |
|
|
Boolean |
Specifies whether the control has a vertical scroll |
|
|
Boolean |
Specifies the width of the ComboBox control in |
Functions
|
RibbonComboBoxItem function |
Datatype returned |
Description |
|---|---|---|
|
Integer |
Adds a new item to the list of values in a combo |
|
|
String |
Returns the name assigned to the |
|
|
Integer |
Deletes an item from the list of values in a combo |
|
|
Integer |
Finds the next item in a combo box that begins with |
|
|
Integer |
Gets the list of picture files that are set for the |
|
|
Integer |
Creates a reference to a context-specific instance |
|
|
PowerObject |
Returns a reference to the name of the parent |
|
|
Integer |
Inserts an item into the list of values in a combo |
|
|
Boolean |
Adds the specified event to the end of the event |
|
|
Integer |
Gets the index of the currently selected item in |
|
|
Integer |
Finds and highlights an item in the |
|
|
Integer |
Sets the picture files for the items in the combo |
|
|
String |
Obtains the text of an item in a combo |
|
|
Integer |
Determines the total number of items in a combo |
|
|
Integer |
Triggers a specified event in the control and |
|
|
Object |
Returns the type of the control. |