Sign in Join
FPDoc Onlineexperiment

TMenuItem.AddHandler procedure

Member of TMenuItempublicIn unit Menus

Adds an event handler routine of the specified type to the menu item.

Declaration

pascal
procedure AddHandler(HandlerType: TMenuItemHandlerType; 
 const AMethod: TMethod; AsFirst: Boolean=False)

Arguments

HandlerType

Identifies the type of handler added in the method.

AMethod

Event handler routine added to the list of handlers.

AsFirstTrue if the handler is the first for the given type.

Description

Nothing more than the line above yet.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.