Adds or inserts the specified OnBeforeDestruction event handler.
Source position: controls.pp line 1771
public procedure TControl.AddHandlerOnBeforeDestruction( |
const OnBeforeDestructionEvent: TNotifyEvent; |
AsFirst: Boolean = False |
); |
OnBeforeDestructionEvent |
|
TNotifyEvent handler routine added to the list of handlers for the chtOnBeforeDestruction handler type. |
AsFirst |
|
True if the routine is inserted as the first handler in the list of handlers. False if the routine is appended to the list. |
CT Web help |
CodeTyphon Studio |