Technical info

 

AsSevSeg
AsKnob
AsLedBtn
AsSlider
AsGPIB

AsSlider  tech info


  • AsSlider

Following is a brief description of most of properties and methods you can find in AsSlider Component. Red items are new in this release.


OnChange Event

Occurs immediately after the value of Position changes.

property AutoBarDim: Boolean;

Fixes bar position and other dimensions to their default values. When AutoBarWidth is True, BarWidth and other properties has no effect.

property AutoBarWidth : Boolean;

Fixes bar's width to it's default value. Default value will depends of control total size.

property BarColor: TColor;

Color of the track bar. 

property BarLeft, BarTop, BarWidth, BarHeight: Word;

Specifies dimensions and relative position of the track bar on the control.

property BarSpacing: Integer;

Determines where the ticks and labels appear beyon their default position. The value of this property count the number of pixels in a direction perpendicular to the trackbar.

property BitmapDisabled: TBitmap;

When SkinStyle is bsBitmap, specifies background picture used for the control in inactive state.

property BitmapThumb: TBitmap;

When SkinStyle is bsBitmap, specifies picture used for the slider button of the control.

property BitmapUp: TBitmap;

When SkinStyle is bsBitmap, specifies background picture used for the control.

property FixToTicks: Boolean;

Use FixToTicks to select a segmented or steady movement of the control.

property Orientation = (toHorizontal, toVertical);

Specifies orientation of the control. Please note that BarWidth and BarHeight values will have the same sense in both orientation, so when changes orientation it will be needed to exchange manually their values.

property ReflexPos: Integer;

Horizontal position of the reflex when SkinStyle is bsMetal. 

property ReflexWidth: Word;

Width of the reflex when SkinStyle is bsMetal. 

property ShowBar: Boolean;

Use ShowBar to show or hide the track bar of the control. This property is useful when you are using a bitmap skin, since you could hide default bar sliding the thumb over a bar included in bacground bitmap, thus posibilities are infinite.

property ShowHalfInterval: Boolean;

When this property is set to True, the control paints a smaller tick between each two common marks. Whether TicksCount is zero this property has no effect. "Half ticks" cannot have a legend.

property SkinStyle: (bsCommon, bsMetal, bsBitmap);

Specifies different default skins for the control. "bsMetal" skin draw a light reflex ove the surface, and bsBitmap allows use of bitmap files as background and slider thumb.

properties ThumbWidth, ThumbHeight: Integer;

Specifies dimensions for the thumb

properties TicksCount: Word;

Number of divisions distributed evenly along the control. 

property TickStyle = (tsNone, tsRaised, tsLowered);

Specifies kind (2D or 3D) of ticks and assigned legends for them.

 

As Components for Instrumentation - supported by Azabache Systems

® Sistemas Azabache 2005  ---  All right reserved