Implements the event handler signalled when the Font has been changed for the control.
Source position: controls.pp line 2233
protected procedure TWinControl.FontChanged( |
Sender: TObject |
); override; |
Sender |
|
Object instance (TFont) for the event notification. |
FontChanged is an overridden method in TWinControl which implements the handler assigned for OnChange events in the Font for the control. The assignment occurs in the inherited constructor. FontChanged is called when a new value of assigned to the Font property in the control.
FontChanged ensures that the widgetset class instance uses the TFont instance in the Sender argument when its handle has been allocated. It also updates the control flags to remove the value wcfFontChanged when the widgetset class has been updated. If the widgetset handle has not been allocated, the value wcfFontChanged is included in the control flags.
FontChanged calls the inherited method. NotifyControls is called to notify child controls of the change to their parent font.
|
Sends a message to all child controls. |
|
|
Handles changes to the Font property. |
CT Web help |
CodeTyphon Studio |