[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Sets the value for the Text in the control.
Source position: maskedit.pp line 270
protected procedure TCustomMaskEdit.RealSetText( |
const AValue: TCaption |
); override; |
AValue |
|
Value stored in the text for the control. |
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.
Version 4.0 | Generated 2025-05-03 | Home |