[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Adds an event handler routine of the specified type to the menu item.
Source position: menus.pp line 295
public procedure TMenuItem.AddHandler( |
HandlerType: TMenuItemHandlerType; |
const AMethod: TMethod; |
AsFirst: Boolean = False |
); |
HandlerType |
|
Identifies the type of handler added in the method. |
AMethod |
|
Event handler routine added to the list of handlers. |
AsFirst |
|
True if the handler is the first for the given type. |
Version 3.2 | Generated 2024-02-25 | Home |