MiniToolbarSlider Object

Derived from: MiniToolbarControl Object

Description

The MiniToolbarSlider object represents a slider 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.
Maximum Read-write property that gets and sets the maximum value of the slider. If the ValueType property is kIntegerType then this value will be rounded to the nearest integer.
Minimum Read-write property that gets and sets the minimum value of the slider. If the ValueType property is kIntegerType then this value will be rounded to the nearest integer.
NumberOfTicks Read-write property that gets and sets the number of tick marks displayed. This does not include the start and end marks.
Parent Gets the parent object from whom this object can logically be reached.
StandardIcon Read-write property that gets and sets the standard (small) icon for the control.
StepsBetweenTicks Read-write property that gets and sets the number of steps the slider will move to go from one tick to the next. This controls the resolution and the corresponding values that can be returned by the slider.
ToolTipText Read-write property that gets and sets the tooltip text for the control.
Type Returns an ObjectTypeEnum indicating this object's type.
Value Read-write property that gets and sets the value of the slider. If a value outside the range defined by the Minimum and Maximum properties is specified, it will be set to the close valid value. Use the ValueType property to know if the value returned should.
ValueType Read-write property that gets and sets if the slider will handle integer or decimal numbers. Valid values are kDoubleType or kIntegerType.
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 slider in pixels.

Events

Name Description
OnValueChange Event that is fired when the value of the slider has changed. This event is fired after the user has finished any scrolling and released the left mouse button. Use the Value property to get the current value of the slider.

Accessed From

MiniToolbarControls.AddSlider

Version

Introduced in version 2013