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

TCustomColorBox.Notification

Performs actions needed when the specified component is added to or removed from the control.

Declaration

Source position: colorbox.pas line 79

protected procedure TCustomColorBox.Notification(

  AComponent: TComponent;

  Operation: TOperation

); override;

Arguments

AComponent

  

Component for the notification.

Operation

  

Operation performed for the specified component.

Description

Notification is an overridden method in TCustomColorBox. It calls the inherited method on entry to handle notifications for components used in the ancestor classes and their child components. It ensures that the reference in ColorDialog is set to Nil when the component is removed from the class instance.

See also

TCustomColorBox.ColorDialog

  

Dialog displayed to select a custom color for the control.

TControl.Notification

  

Notification handler for insertion or deletion of components.

TComponent


Version 4.0 Generated 2025-05-03 Home