Type | Description | |||
Index as Long | A long expression that indicates the index of line being displayed. |
Use the EnsureVisibleLine method to ensure that the line is visible in the control's client area. The control scrolls its content if necessary to make sure that the line is visible. Use the ClientToCursor method to get the line from the point. Use the CaretPos to ensure that specified character fits the control's client area.