[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'MaskEdit' (#lcl)

TCustomMaskEdit.SelectAll

Selects all of the text in the masked edit control.

Declaration

Source position: maskedit.pp line 314

public procedure TCustomMaskEdit.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

TCustomMaskEdit.IsMasked

  

True if a non-empty value has been assigned to EditMask.

TCustomMaskEdit.EditMask

  

Contains the mask characters classes and literals used to format/obscure the value for the control.

TCustomEdit.RealGetText

  

Uses the TextHint display status when getting the value for Text.

TCustomEdit.SelectAll

  

Selects the entire text in the edit control.

TCustomEdit.SelStart

  

The zero-based index for the first UTF-8 character in the current text selection.

TCustomEdit.SelLength

  

The number of currently selected UTF-8-encoded characters in the control.


Version 4.0 Generated 2025-05-03 Home