Slider Switch Tool - ActiveX Properties
The Slider Switch Tool is an ActiveX control. As such, a Slider Switch Tool object has an ActiveX page on the Property Sheet. Many of these properties are the object’s formatting properties. Values for the ActiveX Properties can be set directly on the ActiveX page or in the OCXProperties dialog box, which is accessed by clicking the (OCXProperties) property.
| Property | Description | Related Properties |
|---|---|---|
|
Enables automatic centering of the object within its boundary. Default is 1 - Yes. If set to 0 - No, the component is aligned left in the boundary. OffsetX and OffsetY can be used to move the placement of the object in the boundary. |
||
|
Specifies whether the object controls its update rate. Default is 0 - No. When set to 1 - Yes, the object is repainted at the rate specified by the UpdateFrameRate property. |
||
|
Specifies the color of the object background. Default is gray (RGB 236.233.216). The background color is not shown if the Transparent property is set to 1 — Yes. |
||
|
Specifies a background picture for the object. |
||
|
Specifies the border style of the object. Default is 0 - ibsNone. Other options are 1-ibsRaised and 2 - ibsLowered. |
||
|
Enables user interaction with the object. If set to 0 - No, the object is still shown but its context menu is disabled. Default is 1 - Yes. |
||
|
Specifies the margin (in pixels) between the object and its boundary. Default is 5. |
||
|
Specifies the height (in pixels) of the object. |
||
|
Specifies the increment applied to the switch position when the arrow keys are pressed. Default is 1. |
||
|
Specifies the increment applied to the switch position when the Page Up or Page Down keys are pressed. Default is 2. |
||
|
Specifies the offset of the object from its x-axis. Default is 0. |
||
|
Specifies the offset of the object from its y-axis. Default is 0. |
||
|
Enables the SaveAllPropertiesToFile method to save just the ActiveX Properties or all object properties. Default is 0 - No, which means that only ActiveX Properties are saved. |
||
|
Specifies the orientation of the object. Default is 0 - ioVertical. |
||
|
Specifies which side of the object the labels are drawn. |
||
|
Specifies the bitmap to be shown in place of the pointer. The PointerStyle property must be set to Bitmap. For best results, match the background color of the bitmap to the color of the track. |
||
|
Specifies the color of the pointer. PointerStyle must be set to Pointer or Bar otherwise the PointerIndicatorActiveColor and PointerIndicatorInactiveColor colors are used. Default is gray (RGB 236.233.216). |
||
|
Specifies (in pixels) the height of the pointer. Default is 10. |
||
|
Specifies the color used to highlight the pointer. Default is white (RGB 255.255.255) |
||
|
Specifies the color of the pointer when it is being moved. Default is red (RGB 255.0.0). The color is shown only if the PointerStyle property is set to LED, Light Bar, or Bar Color. |
||
|
Specifies the color of the pointer when it is idle. Default is black (RGB 0.0.0). The color is shown only if the PointerStyle property is set to LED, Light Bar, or Bar Color. |
||
|
Specifies the appearance of the pointer indicator. Default is 0 - ispsLed. Other options are 1 - ispsPointer, 2 - ispsBar, 3 - ispsLightBar, 4 - ispsBarColor, and 5 - ispsBitmap. |
||
|
Specifies the width (in pixels) of the pointer indicator. Default is 13. |
||
|
Specifies the starting position of the pointer. Default is 0. In Run mode the position is determined by the point associated with the object. |
||
|
Specifies the outer bevel style of the position indicator. Default is 2 - ibsLowered. Other options are 0 - ibsNone and 1 - ibsRaised. |
||
|
Specifies the color of the position indicator. Default is cyan (RGB 0.255.255). |
||
|
Specifies the margin (in pixels) between the position indicators and the track. Default is 2. |
||
|
Specifies the size (in pixels) of the position indicator size. Default is 3. |
||
|
Specifies the style of the position indicator. Default is 0 - issisDot. Other option is 1 - issisLine. |
||
|
Specifies the font of the active position label. Default is MS Sans Serif (8 point). |
||
|
Specifies the color of the active position label font. Default is black (RGB 0.0.0). |
||
|
Specifies the font of the inactive position labels. Default is MS Sans Serif (8 point). |
||
|
Specifies the color of the inactive position label font. Default is black (RGB 0.0.0). |
||
|
Specifies the margin (in pixels) between the position labels and position indicators. Default is 5. |
||
|
Specifies default position labels. In Run mode these labels will be replaced by the enumeration table values or descriptions. Defaults are Low, Medium, and High. |
||
|
Enables display of the focus rectangle. |
||
|
Enables display of the position indicators. Default is 1 - Yes. |
||
|
Enables display of the position labels. Default is 1 - Yes. |
||
|
Specifies the color of the track. Default is white (RGB 255.255.255). lated property: TrackStyle |
||
|
Specifies the style of the slider’s track. Default is 0 - istsBox. Other options are 1 - istsLine, 2 - istsBevelLowered, and 3 - istsRaised. |
||
|
Enables transparency of the object background. Default is 0 - No. |
||
|
Specifies the rate (in seconds) of repainting the object. Default is 60. Applicable only when AutoFrameRate is set to 1 - Yes. |
||
|
Enables the visibility of the object on TheView. Default is 1 - Yes. |
||
|
Specifies the width (in pixels) of the object. |


