[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Controls' (#lcl)

TControl.CMSysFontChanged

Handles the CM_SYSFONTCHANGED message for the control.

Declaration

Source position: controls.pp line 1450

protected procedure TControl.CMSysFontChanged(

  var Message: TLMessage

); message;

Arguments

Message

  

Control message which triggered the method. Not used in the method.

Description

CMSysFontChanged ensures that a control with its DesktopFont property set to True is updated when the system font has been changed. The Font property in the control is set to the value in SystemFont from the Screen singleton.

No actions are performed in the method when DesktopFont is set to False.

See also

TControl.DesktopFont

  

Indicates if the desktop (system) font is used for the text displayed on this control.

TControl.Font

  

The font to be used for text display in this control.

Screen

  

The TScreen singleton for the application.

TScreen.SystemFont

  

The default font used for system task dialogs and controls like TSpeedButton.

TLMessage

  


Version 3.2 Generated 2024-02-25 Home