[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Sets the value for the EditText property.
Source position: maskedit.pp line 276
protected procedure TCustomMaskEdit.SetEditText( |
const AValue: string |
); |
SetEditText sets the value for the Text displayed in the control. The new value for the text is padded (when needed) to the length defined in the edit mask. SetEditText calls RealSetTextWhileMasked to store the value in the Text in the control.
Remark: | This method is not Delphi compatible, but this is by design. Delphi allows setting the EditText to any length, which is extremely dangerous! This method ensures that the text assigned in the control does not exceed the length specified by its edit mask. |
|
Value entered in the control and obscured / formatted using the EditMask. |
Version 4.0 | Generated 2025-05-03 | Home |