method Items.EnsureVisibleColumn (ColIndex as Variant)
Ensures that a column fits the control client area.

TypeDescription
ColIndex as Variant A long expression that indicates the column's index, or a string expression that indicates the column's caption or column's key.
The EnsureVisibleColumn method ensures that the given column fits the control's client area. The EnsureVisibleColumn method has no effect if the column is hidded. Use the Visible property to show or hide a column. Use the Position property to change the column's position. Use the EnsureVisibleItem method to ensure that an item fits the control's client area. Use the ScrollBars property to hide the control's scroll bars.