[Overview][Types][Classes][Index] Reference for unit 'LCLClasses' (#lcl)

TLCLComponent.RemoveAllHandlersOfObject

Override this method to remove all references to notification handlers in AnObject.

Declaration

Source position: lclclasses.pp line 53

public procedure TLCLComponent.RemoveAllHandlersOfObject(

  AnObject: TObject

); virtual;

Arguments

AnObject

  

The object whose handlers shall be removed.

Description

An override is required as soon as a component allows one to add notification handlers. Then all such handlers must be removed, when their owner (AnObject) is destroyed.

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