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

TControl.AddHandlerOnBeforeDestruction

Adds a handler for OnBeforeDestruction events.

Declaration

Source position: controls.pp line 1701

public procedure TControl.AddHandlerOnBeforeDestruction(

  const OnBeforeDestructionEvent: TNotifyEvent;

  AsFirst: Boolean = False

);

The latest version of this document can be found at lazarus-ccr.sourceforge.net.