CygNet Studio > Using CygNet Studio Tools and Controls > Seven-Segment Analog Tool > ActiveX Properties

Seven-Segment Analog Tool - ActiveX Properties

The Seven-Segment Analog Tool is an ActiveX control. As such, a Seven-Segment Analog 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

AutoFrameRate

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

AutoSegmentOffColor

Enables the color of the "off" segments to be set to one-third the intensity of the "on" color. Default is 1 - Yes

 

AutoSize

Enables autosizing of the object when any property that has an effect on the digits is adjusted. These include DigitCount, DigitSpacing, SegmentMargin, SegmentSize, and ShowSign. Default is 1 - Yes.

DigitCount

DigitSpacing

SegmentMargin

SegmentSize

ShowSign

BackGroundColor

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.

Transparent

[AlarmElement]

BorderStyle

Specifies the border style of the object. Default is 0 - ibsNone. Other options are 1 - ibsRaised and 2 - ibsLowered.

 

DigitCount

Specifies the number of display digits. Default is 4.

 

DigitSpacing

Specifies the spacing (in pixels) between display digits. Default is 6.

 

Enabled

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.

 

Height

Specifies the height (in pixels) of the object.

 

LeadingStyle

Specifies the type of fill characters to use for justification of values. Default is 2 - ilsSpaces. 0-ilsNone indicates that the value is left-justified; 1-ilsZeros indicates that the value is right-justified with leading zeros.

 

OptionSaveAllProperties

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.

 

PowerOff

Specifies whether the display segments are illuminated. Default is 0 - No.

 

Precision

Specifies the precision of the digits. Default is 2.

 

SegmentColor

Specifies the "on" or illuminated color of display segments. Default is white (RGB 255.255.255).

 

SegmentMargin

Specifies the margin (in pixels) between the digits and the object boundary. Default is 5.

 

SegmentOffColor

Specifies the off or inactive segment color when AutoSegmentOffColor is set to false. Default is gray (RGB 128.128.128).

AutoSegmentOffColor

SegmentSeparation

Specifies (in pixels) the margin between each segment. Default is 1.

 

SegmentSize

Specifies the size of each segment. Default is 1.

 

ShowOffSegments

Enables display of the "off" or inactive segments. Default is 1 - Yes.

 

ShowSign

Enables display of the sign digit. Default is 1 - Yes. An extra digit is added to show + and -.

 

Transparent

Enables transparency of the object background. Default is 0 - No.

 

UpdateFrameRate

Specifies the rate (in seconds) of repainting the object. Default is 60. Applicable only when AutoFrameRate is set to 1 - Yes.

AutoFrameRate

Value

Specifies the value shown on the indicator. Default is 0. If the object is associated with a point, the point’s value sets this property.

 

Visible

Enables the visibility of the object on TheView. Default is 1 - Yes.

 

Width

Specifies the width (in pixels) of the object.

 
Back to top

Let us know how we can improve this topic.

CygNet at weatherford.com

© 2020 Weatherford. All rights reserved.