Message Dispatching Message handlers are seldom called directly. Instead, messages are dispatched to an object using the
Dispatch
method inherited from TObject:
procedure Dispatch(var Message);
The
Message
parameter passed to
Dispatch
must be a record whose first entry is a field of type Word containing
a message ID.
Dispatch
searches backward through the class hierarchy (starting from the class of the object where it is called)
and invokes the first message method for the ID passed to it. If no message method is found for the given ID,
Dispatch
calls
DefaultHandler
.
149
Properties This topic describes the following material:
Property access
Array properties
Index specifiers
Storage specifiers
Property overrides and redeclarations
Class properties (.NET)