Ensures the given item fits the visible client area.
Type
Description
Index as Long
A Long expression that indicates the index of the item to fit the controls
client area.
The method doesn't expand parent items. The
EnsureVisibleItem method scrolls the control's content until the item is
visible. Use the EnsureVisibleColumn
method to ensure that a specified column fits the control's client area.