Skip to content

TObject.DefaultHandler

Default handler for integer message handlers.

Declaration

Source position: objpash.inc line 215

public 
  procedure DefaultHandler(var message);  Virtual;

Description

DefaultHandler is the default handler for messages. If a message has an unknown message ID (i.e. does not appear in the table with integer message handlers), then it will be passed to DefaultHandler by the Dispatch method.

See also

Name Description
DefaultHandlerStr Default handler for string messages.
Dispatch Dispatch an integer message