[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Handles a CM_PARENTFONTCHANGED message for the control.
Source position: controls.pp line 1458
protected procedure TControl.CMParentFontChanged( |
var Message: TLMessage |
); message; |
Message |
|
Control message handled in the method. |
CMParentFontChanged ensures that the Font from the Parent control is applied to the class instance when the message is received. It applies the PixelsPerInch setting in the Parent font (which is not included in object persistence) to the Font in the control.
No actions are performed in the method if ParentFont is set to False, or when the Parent property has not been assigned.
Remark: | The current LCL version calls the ParentFontChanged method prior to exit. It has an empty implementation, and is maintained only for compatibility with older versions of the LCL. The work is actually performed in this method. |
|
The font to be used for text display in this control. |
|
|
Indicates if the Font from the Parent control is used in the control. |
|
|
The control within which the control is shown. |
|
|
[Delphi compatible] Does nothing here, all work is done in CMParentFontChanged. |
|
|
Display density for the font. |
Version 3.2 | Generated 2024-02-25 | Home |