wTicPosition Property (TrackBar Controls)

Applies to TestComplete 14.61, last modified on April 22, 2021

Description

The wTicPosition property returns the logical position of the given tick mark.

Declaration

TestObj.wTicPosition(Index)

Read-Only Property Integer
TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section
Index [in]    Required    Integer    

Applies To

The property is applied to the following objects:

View Mode

To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.

Parameters

The property has the following parameter:

Index

Specifies the index of the tick mark, or in other words, the position you want to retrieve. The index is zero-based. The total number of marks in the trackbar is given by wNumTics.

Property Value

An integer value indicating the position that corresponds to the given tick mark.

Example

To view an example that demonstrates how to use the wTicPostition property, see Setting the Trackbar Slider's Position.

See Also

Setting the Trackbar Slider's Position
wMax Property (TrackBar and Slider Controls)
wMin Property (TrackBar and Slider Controls)
wMax Property (Specific to WPFTrackBar Controls)
wMin Property (Specific to WPFTrackBar Controls)
wNumTics Property (TrackBar Controls)

Highlight search results