MiniToolbarValueEditor Object


Description

The MiniToolbarValueEditor object represents a value edit control within a MiniToolbar.

Methods

Name Description
Delete Method that deletes the control.
SetFocus Method that sets the focus on this control and highlights the current content of the value editor.

Properties

Name Description
AllowMeasure
AllowShowDimensions
AllowToleranceEdit
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
CanValueBeEqualToMaximumValue
CanValueBeEqualToMinimumValue
ControlType Read-only property that returns the control type.
DefaultUnits
DisplayName
Enabled
Expression
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.
IsExpressionValid Read-only property that returns whether the current content of the value editor evaluates to a valid value based on the specified units, and that the evaluated value is within the range of values, if specified. The range of values can be specified using MaximumValue and MinimumValue properties. If the current content is invalid, the text in the control is displayed in red.
LargeIcon
MaximumValue
MinimumValue
ModelValueType
MostRecentValues
Parent Gets the parent object from whom this object can logically be reached.
Precision
StandardIcon
Tolerance Read-only property that returns a Tolerance object containing tolerance values for the parameter associated with this control. This property is applicable only if the AllowToleranceEdit property is set to True. Use this property to set the default values for the tolerance dialog and to query the values set by the user.
ToolTipText
Type Returns an ObjectTypeEnum indicating this object's type.
UnitsType Read-only property that returns the units type assigned to the control during creation.
Value
Visible
Width

Events

Name Description
OnChange Event that is fired when the content of the value editor is changed by the user.
OnEnter Event that is fired just before the control gets focus.
OnExit Event that is fired just before the control loses focus.

Accessed From

MiniToolbarControls.AddValueEditor

Version

Introduced in version 2012