Valve Tool - ActiveX Properties
The Valve Tool is an ActiveX control. As such, a Valve 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 |
|---|---|---|
|
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. |
||
|
Enables the valve body color to change along with the valve top. Default is 1 - Yes. If set to 0 - No, the valve’s body is always gray (RGB 236.233.213). |
||
|
Specifies the color of the valve component(s) when the "closed" state is true. Default is red (RGB 255.0.0). |
||
|
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. |
||
|
Enables the default of the state of the valve to “opened.” Default is 0 - No. |
||
|
Specifies the color of the valve component(s) when the "open" state is true. Default is green (RGB 0.255.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 valve. Default is 0 - ioVertical. |
||
|
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. |

