method Group.EnsureVisibleColumn (Column as Variant)

Scrolls the group's content to ensure that the column fits the group's client area.

TypeDescription
Column as Variant A long expression that indicates the index of the column, a string expression that indicates the column's caption or the column's key.

The EnsureVisibleColumn method ensures that the given column fits the group'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 group's client area.