Skip to content

TObject.DefaultHandler

Default handler for integer message handlers.

Declaration

Source position: objpash.inc line 293

public 
procedure TObject.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
Dispatch Dispatch an integer message.
DefaultHandlerStr Default handler for string messages.