Sign in Join
FPDoc Onlineexperiment

TNotifyEvent procedure type

In unit Classes

Standard event handler type.

Declaration

pascal
TNotifyEvent = procedure(Sender: TObject) of object

Description

Most event handlers are implemented as a property of type TNotifyEvent. When this is set to a certain method of a class, when the event occurs, the method will be called, and the class that generated the event will pass itself along as the Sender argument.

See also

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