The Panel Switch Tool is an ActiveX control. As such, a Panel 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 OCX Properties dialog box, which is accessed by clicking the (OCXProperties) property.
| Property | Description | Related Properties |
|---|---|---|
|
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. |
UpdateFrameRate | |
|
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 the color of the top half of the panel that contains the knob. Default is cyan (RGB 0.255.255). BorderStyle must be set to 3 - ibsTop for this color to show. |
||
|
Specifies the border style of the object. Default is 0 - ibsLine. Other options are 1-ibsRaised, 2 - ibsLowered, 3 - ibsTop, 4 - ibsNone. |
||
|
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 height (in pixels) of the object. |
||
|
Specifies the color of the knob handle. Default is gray (RGB 128.128.128). |
||
|
Specifies the width (in pixels) of the knob handle. Default is 10. |
||
|
Specifies the color of the inner portion of the knob. Default is gray (RGB 128.128.128). |
||
|
Specifies the color of the knob plate. Default is white (RGB 255.255.255). |
||
|
Specifies the radius (in pixels) of the knob component. |
||
|
Enables the knob radius to be adjusted automatically when the object’s boundary is resized. Default is 1 - Yes. |
||
|
Specifies the margin (in pixels) between the knob and the object boundary. Default is 0. |
||
|
Specifies if the knob can freely rotate or by increment between positions. Default is 0 - ispmcRotate. Other option is 1 - ispmcIncrement. |
||
|
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. |
||
|
PanelBackGroundColor |
Specifies the background color of the switch’s panel area. Default is black (RGB 0.0.0). |
|
|
Specifies the font of the active position caption. Default is MS Sans Serif (8 point). |
PanelFontActiveColor | |
|
Specifies the color of the active position caption font. Default is cyan (RGB 0.255.255). |
PanelFontActive | |
|
Specifies the font of the active position caption. Default is MS Sans Serif (8 point). |
PanelFontActiveColor | |
|
Specifies the color of the active position caption font. Default is white (RGB 255.255.255). |
PanelFontActive | |
|
Specifies the margin (in inches) between the captions and the bottom of the panel area. Default is 0.25. |
||
|
Specifies the margin (in inches) between the rows of captions. Default is 0.25. |
||
|
Specifies the margin (in inches) between the captions and the top of the panel area. Default is 0.25. |
||
|
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 caption used for switch position 3. Default is On. In Run mode this label will be replaced by the enumeration table value or description. |
[PositionLabel] | |
|
Specifies the caption used for switch position 3. Default is Off. In Run mode this label will be replaced by the enumeration table value or description. |
[PositionLabel] | |
|
Specifies the caption used for switch position 3. Default is Manual. In Run mode this label will be replaced by the enumeration table value or description. |
[PositionLabel] | |
|
Specifies the number of positions on the switch. Maximum is 3. Default is 3. |
||
|
Specifies the rate (in seconds) of repainting the object. Default is 60. Applicable only when AutoFrameRate is set to 1 - Yes. |
AutoFrameRate | |
|
Enables the visibility of the object on TheView. Default is 1 - Yes. |
||
|
Specifies the width (in pixels) of the object. |