Handles changes to the font used in the control.
Source position: stdctrls.pp line 803
protected procedure TCustomEdit.FontChanged( |
Sender: TObject |
); override; |
Sender |
|
Object for the event notification. |
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.
|
Default hint text shown when the Text property is empty for the control. |
|
|
Implements the event handler signalled when the Font has been changed for the control. |
|
|
The font to be used for text display in this control. |
|
|
Gets the font instance used for an emulated TextHint display. |
CT Web help |
CodeTyphon Studio |