Sign in Join
FPDoc Onlineexperiment

TCustomMaskEdit.SelectAll procedure

Member of TCustomMaskEditpublicIn unit MaskEdit

Selects all of the text in the masked edit control.

Declaration

pascal
procedure SelectAll; override

Description

SelectAll is an overridden method used to select all of the text in the masked edit control. SelectAll ensures that content formatted using the EditMask is handled in the method.

When IsMasked is True, the inherited RealGetText method is called to get the text content for the control. SelStart and SelLength are updated to use the values needed for the text content. The inherited method is not called.

When IsMasked is False, the inherited method is called to handle the text selection.

See also

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