A ColumnHeaders collection contains a collection of ColumnHeader objects.
App.ActiveForm.ListViewControl.ColumnHeaders(columnIndex)
Newlook Smartclient only.
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.
Column headers can only be viewed when the ListView control is displayed in Report mode. Modify the View property to Report.
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)
Newlook Smartclient |
Newlook Server |
Deprecated
|
Obsolete
Property |
Client |
Description |
|
Returns the number of objects in a collection. |
Newlook Smartclient |
Newlook Server |
Deprecated
|
Obsolete
Property |
Client |
Description |
|
Adds a new ColumnHeader object to the ListView control's ColumnHeaders collection. |
|
|
Removes all Columns for the specified ListView control. |
|
|
Removes the specified Column from the ListView control. |
Objects and Controls | ColumnHeader object | ListView control
© 2004-2021 looksoftware. All rights reserved.