SelectRange Property

Gets or sets a value that determines whether the track bar should display a highlighted range within the tick mark window. Smartclient-only.

object.SelectRange = [value]

Where object is an object expression that evaluates to one of the controls in the Applies To list, and value is an expression that evaluates to either True or False, as described in Settings.

Client support

Newlook Smartclient only.

Use

This property is useful if you wish to provide the user with a visual selection range within the track bar control itself. If SelectRange is true, then SelStart determines where the selection range will begin, while SelLength property specifies how long the selection range will be.

This property is an Integer type therefore in scripts and macros it will return a 0 if False and -1 if True.

TIP:

Both the SelStart and SelLength properties must be specified in order for a selection range to display in the track bar control.

Settings

The SelectRange settings for the track bar control are :

Setting

Description

True

Display a highlighted range within the tick mark window.

False

(Default) Do not display a range within the tick mark window.

See Also

SelStart property | SelLength property

Applies To

TrackBar control


© 2004-2021 looksoftware. All rights reserved.