Sign in Join
FPDoc Onlineexperiment

TCustomFloatSpinEdit.RealSetText procedure

Member of TCustomFloatSpinEditprotectedIn unit Spin

Updates Modified and the TextHint display when storing the new Text value.

Declaration

pascal
procedure RealSetText(const AValue: TCaption); override

Description

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.

This description is the one of StdCtrls.TCustomEdit.RealSetText.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.