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

TMenu.Notification

Handles a notification when a component is added to or removed from the control.

Declaration

Source position: menus.pp line 387

protected procedure TMenu.Notification(

  AComponent: TComponent;

  Operation: TOperation

); override;

Description

Notification is an overridden method in TMenu. It calls the inherited method on entry, and sets the member for the Images property to Nil when it is removed from the control. An exception is raised if the Items property is removed from the control.

See also

TComponent.Notification


Version 3.2 Generated 2024-02-25 Home