CygNet Studio > Using CygNet Studio Tools and Controls > Slider Tool > ActiveX Properties

Slider Tool - ActiveX Properties

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

AutoCenter

Enables automatic centering of the component 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 component in the boundary.

OffsetX

OffsetY

AutoFrameRate

Enables the object to control 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

AutoScaleDesiredTicks

Specifies the desired TickMajorCount when AutoScaleEnabled is set to 1 - Yes. Default is 5. Due to the algorithm used to calculate the tick counts, the actual count can vary.

AutoScaleEnabled

AutoScaleEnabled

Enables auto scaling of the indicator. Default is 0 - No.

AutoScaleDesiredTicks

AutoScaleMaxTicks

AutoScaleStyle

AutoScaleMaxTicks

Specifies the maximum TickMajorCount when AutoScaleEnabled is set to 1 - Yes. Due to the algorithm used to calculate the tick counts, the actual count can vary. Default is 6.

AutoScaleEnabled

AutoScaleStyle

Specifies the style for adjusting the PositionMin and PositionMax when AutoScale is enabled. Option is either 0 - iassAutoMinMax or 1 - iassFixMinMax. Default is 0 - iassAutoMinMax.

PositionMin

PositionMax

AutoScaleEnabled

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]

BackGroundPicture

Specifies the name of an image file to show on the background of the object. Default is blank.

Note: Although Windows Metafile (.wmf) is listed as a format option, this file format is not supported.

 

BorderStyle

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

 

CurrentMax

Specifies the maximum value reached by the Position property. It is reset each time the Position value is greater than the CurrentMax value. The only way to access the value is programmatically (i.e., using script).

Position

CurrentMin

Specifies the minimum value reached by the Position property. It is reset each time the Position value is less than the CurrentMin value. The only way to access the value is programmatically (i.e., using script).

Position

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.

 

EndsMargin

Specifies the margin (in pixels) between the indicator ends and the object boundary. Default is 10.

 

Height

Specifies (in pixels) the height of the object.

 

KeyArrowStepSize

Specifies the increment applied to the slider position when the arrow keys are pressed. Default is 1.

 

KeyPageStepSize

Specifies the increment applied to the slider position when the Page Up or Page Down keys are pressed. Default is 10.

 

MinMaxFixed

Not applicable for this tool. Specifies whether the minimum and maximum pointers are fixed or will track the range of the Position property. Default is 0 - No.

Position

MouseControlStyle

Specifies how the pointer responds to a mouse click in the track. Default is 0 - ismcsSlideOnly. This option requires the user to slide the pointer to a new location. 1 - ismcsSlidePage allows the user to click in the track. The pointer will move in the direction of the click by the increment specified by the KeyPageStepSize property. 2 - ismcsGoto also allows the user to click in the track and the pointer is moved to the location of the click.

KeyPageStepSize

MouseWheelStepSize

Specifies the adjustment to the slider position when the mouse wheel is moved one increment. Default is 1.

 

OffsetX

Specifies the offset of the object from its x-axis. Default is 0.

 

OffsetY

Specifies the offset of the object from its y-axis. Default is 0.

 

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.

 

Orientation

Specifies the orientation of the indicator. The default is 0-ioVertical.

 

OrientationTickMarks

Specifies the location of the tick marks in relation to the indicator. If the object orientation is vertical, the option is the left or right side. If it is horizontal, the option is top or bottom. Default is 0 - iosBottomRight.

 

PointerBitmap

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.

PointerStyle

PointerHeight

Specifies (in pixels) the height of the pointer. Default is 10.

PointerWidth

PointerIndicatorActiveColor

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.

PointerStyle

PointerIndicatorInactiveColor

PointerIndicatorInactiveColor

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.

PointerStyle

PointerIndicatorActiveColor

PointerStyle

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.

 

PointerWidth

Specifies the width (in pixels) of the pointer indicator. Default is 15.

PointerHeight

Position

Specifies the starting position of the pointer. Default is 0. In Run mode the position is determined by the point associated with the object.

PositionMin

PositionMax

PositionPercent

CurrentMax

CurrentMin

PositionMax

Specifies the upper limit of the indicator level. Default is 100.

Position

PositionMin

PositionPercent

PositionMin

Specifies the lower limit of the indicator level. Default is 0.

Position

PositionMax

PositionPercent

PositionPercent

Specifies the level of the indicator in terms of percent in regards to the range (PositionMax and PositionMin). This value is calculated. Default is 0. Valid range is 0.00 (0%) and 1.00 (100%). The only way to access the value is programmatically (i.e., using script).

Position

PositionMin

PositionMax

PrecisionStyle

Specifies if the labels show significant digits (integers) or decimal places. Default is 1 - ipsFixedDecimal Points, which enables the labels to show the number of decimal places specified by the TickLabelPrecision property.

TickLabelPrecision

ReverseScale

Enables reversing the scale. Normal scaling runs negative to positive left to right or bottom to top. Default is 0 - No.

 

ShowFocusRect

Enables display of the focus rectangle.

Tabstop

ShowTickLabels

Enables display of the tick mark labels. Default is 1 - Yes.

 

ShowTicksMajor

Enables display of the major tick marks. Default is 1 - Yes.

 

ShowTicksMinor

Enables display of the minor tick marks. Default is 1 - Yes.

 

TickLabelFont

Specifies the font for the tick labels. Default is MS Sans Serif (8 point).

TickLabelFontColor

TickLabelFontColor

Specifies the color of the tick mark labels. Default is black (RGB 0.0.0).

TickLabelFont

TickLabelMargin

Specifies the size of the margin (in pixels) between the labels and the tick marks. Default is 5.

 

TickLabelPrecision

Specifies the number of decimal places for the tick labels. Default is 0. To use any value other than 0, TickLabelPrecison must be set to 1 - ipsFixedDecimal Points.

PrecisionStyle

TickMajorColor

Specifies the color of the major tick marks. Default is black (RGB 0.0.0).

 

TickMajorCount

Specifies the number of major tick marks displayed on the scale span. Default is 5.

 

TickMajorLength

Specifies the length (in pixels) of the major tick marks. Default is 7.

 

TickMajorStyle

Specifies the style of the major tick marks. Default is 2 - ibsLowered. Other options are 0 - ibsNone and 1 - ibsRaised.

 

TickMargin

Specifies the size of the margin (in pixels) between the tip of the pointer and the tick marks. Default is 5.

 

TickMinorAlignment

Specifies the alignment of the minor tick marks in relation to the major tick marks. Default is 0 - itmnaInside. Other options are 1 - itmnaCenter and 2 - itmnaOutside.

 

TickMinorColor

Specifies the number of minor tick marks displayed between major tick marks. Default is 4.

 

TickMinorCount

Specifies the number of minor tick marks displayed on the scale span. Default is 4.

 

TickMinorLength

Specifies the length (in pixels) of the minor tick marks. Default is 3.

 

TickMinorStyle

Specifies the style of the minor tick marks. Default is 0 - ibsNone. Other options are 1 - ibsRaised and 2 - ibsLowered.

TickMinorCount

TickMinorLength

TrackColor

Specifies the color of the track. Default is white (RGB 255.255.255).

TrackStyle

TrackStyle

Specifies the track style. Default is 0 - istsBox. Other options are 0 - istsBox, 1 - istsLine, 2 - istsBevelLowered, 3 - istsBevelRaised.

 

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

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.