ColumnHeaders Collection

A ColumnHeaders collection contains a collection of ColumnHeader objects.

App.ActiveForm.ListViewControl.ColumnHeaders(columnIndex)

Client support

   Newlook Smartclient only.

Use

The ColumnHeader collection can be used to add or remove ColumnHeader objects to or from the collection using the ColumnHeader property of the ListView Control at design time.

The ColumnHeaders collection uses the Count property to return the number of items in the collection.

TIP

Column headers can only be viewed when the ListView control is displayed in Report mode. Modify the View property to Report.

Referencing individual members of the collection

You can reference an individual item within any Newlook collection by using its Index. All indexes in Newlook are zero-based therefore if you wanted to return the third item in the collection you would use the following syntax:

object.collection(2)

Applies To

ListView Control

See Also

Objects and Controls | ColumnHeader object | ListView control


© 2004-2021 looksoftware. All rights reserved.