MiniToolbarComboBox Object


Description

The MiniToolbarComboBox object represents a combobox control within a MiniToolbar.

Methods

Name Description
AddItem Method that adds an item to the controls list.
Clear Method that removes all the items from the control, including any separators.
Delete Method that deletes the control.
RemoveItem Method that removes the specified item or the separator from the control.

Properties

Name Description
Application Returns the top-level parent application object. When used the context of Inventor, an Application object is returned. When used in the context of Apprentice, an ApprenticeServer object is returned.
AutoHide Read-write property that gets and sets whether the control should be automatically hidden when the user moves the cursor away from the MiniToolbar.
ControlType Read-only property that returns the control type.
Count Read-only property that returns the number of items in the combobox, including separators.
DisplayName Read-write property that gets and sets the display name for the control.
Enabled Read-write property that gets and sets whether the control is enabled.
Index Read-only property that returns the index this control is currently positioned at within the mini toolbar.
InternalName Read-only property that returns a string uniquely identifying this control within the toolbar.
Item Returns the text of the specified item or the name of the specified separator from the combobox.
LargeIcon Read-write property that gets and sets the large icon for the control.
Parent Gets the parent object from whom this object can logically be reached.
SelectedIndex Read-write property that gets and set the index of the item currently selected.
SelectedItem Returns the item currently selected.
ShowIcon Read-write property that gets and sets whether the icon associated with the currently selected item should be displayed on the face of the control.
ShowText Read-write property that gets and sets whether the display name associated with the currently selected item should be displayed on the face of the control.
StandardIcon Read-write property that gets and sets the standard (small) icon for the control.
ToolTipText Read-write property that gets and sets the tooltip text for the control.
Type Returns an ObjectTypeEnum indicating this object's type.
Visible Read-write property that gets and sets whether the control is visible.
Width Read-write property that gets and sets the width of the combobox in pixels.

Events

Name Description
OnItemHoverEnd Event that is fired when the user stops hovering over an item in the combobox in the expanded state.
OnItemHoverStart Event that is fired when the user starts to hover over an item in the combobox in the expanded state.
OnItemRemove Event that is fired when the user removes an item from the combobox.
OnPreMenuDisplay Event that is fired when the user clicks the combobox.
OnSelect Event that is fired soon after the user changes the currently selected item using the drop down.

Accessed From

MiniToolbarControls.AddComboBox

Version

Introduced in version 2012