Unit 'StdCtrls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#lcl]

TCustomLabel.FontChanged

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

Declaration

Source position: stdctrls.pp line 1582

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.



CT Web help

CodeTyphon Studio