Sign in Join
FPDoc Onlineexperiment

TControl.CMSysFontChanged procedure

Member of TControlprotectedIn unit Controls

Handles the CM_SYSFONTCHANGED message for the control.

Declaration

pascal
procedure 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

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