MiniToolbarButton Object


Description

The MiniToolbarButton object represents a button control within a MiniToolbar.

Methods

Name Description
Delete Method that deletes 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.
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.
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.
Pressed Read-write property that gets and sets whether the button is currently pressed (active).
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.

Events

Name Description
OnClick Event that is fired when the button is clicked by the user.

Accessed From

MiniToolbarControls.AddButton

Version

Introduced in version 2012