Sign in Join
FPDoc Onlineexperiment

TCustomEdit.RemoveAllHandlersOfObject procedure

Member of TCustomEditpublicIn unit StdCtrls

Removes all event handlers assigned for the specified object.

Declaration

pascal
procedure RemoveAllHandlersOfObject(AnObject: TObject); override

Arguments

AnObject

Object instance to remove for the list of handlers in the control.

Description

RemoveAllHandlersOfObject is an overridden method in TCustomEdit, and calls the inherited method on entry to remove handlers for the specified object.

RemoveAllHandlersOfObject uses the internal TMethodList instance (when assigned) and calls its RemoveAllMethodsOfObject method to remove entries where the TMethod data points to the object specified in AnObject.

See also

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