TCustomEdit.FontChanged procedure
Handles changes to the font used in the control.
Declaration
procedure FontChanged(Sender: TObject); overrideArguments
Sender | Object for the event notification. |
Description
FontChanged is an overridden method in
TCustomEdit. It
ensures that the
Font used for an emulated
TextHint
display is (re-)created when visible by calling
CreateEmulatedTextHintFont.
FontChanged calls the inherited method to set flags in the control, and to perform notifications of the changed value to any child controls. The hint font is freed when the inherited method is completed.
FontChanged is assigned as the OnChange event handler for the
TFont class instance in the Font property.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
