LastColumnClicked Property

Returns the ColumnHeader index of the last column clicked by the user within the ListView control object. Read-only.

object.LastColumnClicked = [integer]

Where object is an object expression that evaluates to one of the controls in the Applies To list, and integer is the ColumnHeader index of the last column clicked by the user.

Client support

   Newlook Smartclient only.

Version Support

Deprecated in Version 11.0 for the ListView control. Refer to Deprecated Items for the recommended migration action for this property.

Use

If a column has not yet been clicked by the user, or an invalid column is clicked then this property will return the value -1.

Note that the ColumnHeaders collection has a zero-based index, therefore the first column in the list view control will have an index of 0.

This property has been replaced by the LastClickedColumn property, which will return the column that the user last clicked.

See Also

OnClick property | LastItemClicked property | LastClickedColumn property

Applies To

ListView control


© 2004-2021 looksoftware. All rights reserved.