Adds an OnDestroy event handler to the handlers for the menu item.
Source position: menus.pp line 299
public procedure TMenuItem.AddHandlerOnDestroy( |
const OnDestroyEvent: TNotifyEvent; |
AsFirst: Boolean = False |
); |
OnDestroyEvent |
|
Routine added to the handlers for the menu item. |
AsFirst |
|
True if the handler is the first in the list of OnDestroy handlers. |
| Version 4.4 | Generated 2025-11-08 | Home |