Updates Modified and the TextHint display when storing the new Text value.
Source position: stdctrls.pp line 829
protected procedure TCustomEdit.RealSetText( |
const AValue: TCaption |
); override; |
AValue |
|
New value stored as the text/caption for the control. |
RealSetText is an overridden method in TCustomEdit. It ensures that the value in Modified is updated when a new value in Text is applied to the Caption for the control. It also hides the TextHint display when the new value is not an empty string ('') by calling HideEmulatedTextHint.
RealSetText calls the inherited method to store the Text value, and to adjust the control size when needed.
The TextHint is re-displayed when it is hidden and CanShowEmulatedTextHint returns True.
|
Indicates if the value in TextHint can be displayed in the edit control. |
|
|
True when the value in Text has been changed. |
|
|
The text displayed and edited for the control. |
|
|
Default hint text shown when the Text property is empty and the control is not focused. |
|
|
Sets the text / caption for the control. |
|
|
The text displayed for the control. |
CT Web help |
CodeTyphon Studio |