TCustomMaskEdit.SetTextApplyMask procedure
Sets the value for the control after applying its edit mask.
Declaration
procedure SetTextApplyMask(Value: TCaption)Description
SetTextApplyMask is a method used to set the text for the control
to the specified Value. It ensures that the EditMask is applied to the value
when IsMasked returns True. The ApplyMaskToText method is called to generate
the text with mask literals as needed for the EditMask.
RealSetTextWhileMasked is called to apply the masked text value to the control.
When Value is an empty string (''), the Clear method is called to set the control value.
SetTextApplyMask is used in the implementation of the RealSetText method. It is also called from the Loaded method when the component has finished loading during LCL streaming.
See also
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
