TCustomMaskEdit.RealSetText procedure
Sets the value for the Text in the control.
Declaration
procedure RealSetText(const AValue: TCaption); overrideArguments
AValue | Value stored in the text for the control. |
Description
RealSetText is an overridden procedure used to set the value for
the Text in the control.
Setting the value in Text prior to completion of LCL component
streaming has unwanted side-effects. To prevent the condition, RealSetText
stores the text in AValue to an internal member that is applied in
the Loaded method. No additional actions are performed in the
method when csLoading is in the ComponentState property.
RealSetText uses the value from IsMasked to determine if an edit
mask is used for the control. When False, the inherited
RealSetText method is called to set the value in the
Text property. When True, the SetTextApplyMask
method is called to store the content in AValue guided by the
EditMask for the control.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
