Sign in Join
FPDoc Onlineexperiment

TCustomMaskEdit.CheckCursor procedure

Member of TCustomMaskEditprotectedIn unit MaskEdit

Updates the position for the cursor (or caret) when an EditMask is used in the control.

Declaration

pascal
procedure CheckCursor

Description

CheckCursor is a procedure used to update the position for the cursor (or caret) when an EditMask is used in the control. CheckCursor uses the value from IsMasked to determine if the cursor position needs to be updated by calling SetCursorPos. When IsMasked returns False, no actions are performed in the method.

Used in the implementation of the SetSpaceChar method.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.