property MaskEdit.CursorPos as Long
Retrieves or sets a value that indicates the cursor position.

TypeDescription
Long A long expression that indicates the cursor position.

The CursorPos property determines the cursor position. The CursorPos property starts from 0.

The following sample displays the cursor position using a Timer:

Private Sub Timer1_Timer()
    Label1 = MaskEdit1.CursorPos
End Sub