property Column.Index as Long
Returns a value that represents the index of an object in a collection.

 TypeDescription 
   Long A long expression that indicates the column's index.  

The Index property of the Column is read only. Use the Position property to change the column's position. The Columns collection is zero based, so the Index property starts at 0. The last added column has the Index set to Columns.Count - 1. When a column is removed from the collection, the control updates all indexes. Use the Visible property to hide a column. Use the Columns property to access column from it's index.


Send comments on this topic.
1999-2017 Exontrol.COM, Software. All rights reserved.