Navigation: Ultimate Suite for PowerBuilder Help > PowerRangebar >

Properties

Send comments on this topic.

 

Int MinPosition
Default: 0

Specifies the value of the Position property when the slider is at the left edge of the control.

 


Int MaxPosition
Default: 100

Specifies the value of the Position property when the slider is at the right edge of the control.

 


Int StartPosition
Default: 0

Specifies a value between MinPosition and MaxPosition specifying the position of the first slider.

 


Int EndPosition
Default: 0

Specifies a value between MinPosition and MaxPosition specifying the position of the second slider.

 


HTickMarks TickMarks
Default: HTicksOnNeither!

Specifies where tickmarks should be displayed. Values are:

HTicksOnBottom!
HTicksOnTop!
HTicksOnBoth!
HTicksOnNeither!

If your rangebar is in a vertical orientation, HTicksOnTop! will display ticks on the Left. HTicksOnBottom! will display ticks on the Right.


Int TickFrequency
Default: 10

Specifies tick mark frequency. Setting TickFrequency to 1 indicates 1 tick mark for each increment in the rangebar range of values.

 


Int LineSize
Default: 4

Specifies the thickness, in pixels, of the line that runs through the rangebar.

 


Int SliderHeight
Default: 20

Specifies the size, in pixels, of the slider height on the rangebar.

 


Int SliderWidth
Default: 10

Specifies the size, in pixels, of the slider width on the rangebar.

 


String SliderColor
Default: "BLUE"

Specifies the color of the slider. SliderColor is represented as a string value. Refer to the color chart below for available values.
 


String LineColor
Default: "BLUE"

Specifies the color of the line that runs through the slider. LineColor is represented as a string value. Refer to the color chart below for available values.
 


String RangeLineColor
Default: "BLUE"

Specifies the color of the range portion of the rangebar. The range portion is the line that displays to the between the first and second slider. RangeLineColor is represented as a string value. Refer to the color chart below for available values.
 


String TickColor
Default: "Grey"
Specifies the color of the ticks. TickColor is represented as a string value. Refer to the color chart below for available values.

 


String SliderShape
Default: "Square"

Specifies the shape of the slider. Available options are "Square" or "Circle". If the SliderHeight and SliderWidth properties are not equal, the "Circle" shape will display as an elliptical shape.

 


String ThumbImage
Default: ""

The ThumbImage property, when set, will display an image for the rangebar sliders. The image will display using the SliderHeight and SliderWidth properties. Setting the ThumbImage will override the SliderShape property. This value must be a valid image which can be an image in your file system or a PB build in image (e.g. save!).

 


 

 

Full list of colors:
 

 

Blue

 

Black

 

Olive

 

Silver

 

Classic

 

Amber

 

Cobalt

 

Crimson

 

Emerald

 

Indigo

 

Magenta

 

Mauve

 

Orange

 

Pink

 

Purple

 

Red

 

Teal

 

Violet

 

LightGrey

 

Grey

 

DarkGrey

 


Copyright © 2021 Werysoft Inc.