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

TCustomLabel.FontChanged

Implements the OnChange event handler for the Font in the control.

Declaration

Source position: stdctrls.pp line 1580

protected procedure TCustomLabel.FontChanged(

  Sender: TObject

); override;

Arguments

Sender

  

Object for the event notification.

Description

FontChanged is an overridden method in TCustomLabel which implements the OnChange event handler for the Font in the control. FontChanged calls the inherited method on entry, and calls UpdateSize to resize the control for any changes to font properties.

See also

TCustomLabel.UpdateSize

  

Adjusts the size for the control based on settings in AutoSize and OptimalFill.

TControl.FontChanged

  

Handles changes to the Font property.

TFont

  

Represents a font used to draw text in an application.


Version 3.2 Generated 2024-02-25 Home