wSort Property (Header Controls)

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

Description

A header control’s item may display the down or up arrow. These arrows are typically used to indicate that the contents of the control that depends on the header, is sorted by the column. The wSort property lets you determine whether an item shows the down or up arrow. You can also use this property to display the arrow in the item.

Declaration

TestObj.wSort(Index)

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

Applies To

The property is applied to the following object:

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 (from 0) or the caption of the desired item. The caption can be case-sensitive or case-insensitive depending on the value of the Use case-sensitive parameters project setting.

Property Value

The property can have one of the following values:

Value Description
tsNone (or 0) The item shows neither up, nor down arrow.
tsUp (or 1) The item shows the up arrow.
tsDown (or 2) The item shows the down arrow.
Highlight search results