Ensures that a field fits the control's client area.
Type
Description
Index as Variant
A long expression that indicates the index of the editor being requested, a
string expression that indicates the key of the editor being accessed.
Use the EnsureVisible method to ensure that a specified
editor fits the control's client area. The Index
property specifies the index of the editor. The Key
property specifies the key of the editor. The ScrollBars
property specifies whether the control adds scroll bars when required. The
EnsureVisible method scrolls the control's content if is is necessary. If the
control has no scroll bars, the EnsureVisible method has no effect.