Sign in Join
FPDoc Onlineexperiment

TObject.Dispatch procedure

Member of TObjectpublicIn unit System

Dispatch an integer message.

Declaration

pascal
procedure Dispatch(var message); virtual

Description

Dispatch looks in the message handler table for a handler that handles message. The message is identified by the first dword (cardinal) in the message structure.

If no matching message handler is found, the message is passed to the DefaultHandler method, which can be overridden by descendent classes to add custom handling of messages.

See also

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