Sign in Join
FPDoc Onlineexperiment

TWinControl.DefaultHandler procedure

Member of TWinControlpublicIn unit Controls

Handles all messages that the control doesn't fully handle itself.

Declaration

pascal
procedure DefaultHandler(var AMessage); override

Arguments

AMessage

The message to process.

Description

This implementation sends the message to the widget's message handler.

Override this method to implement your own message handling. If the message Result is non-zero, the message already has been handled; otherwise, set the Result to a non-zero value (depending on the message ID) when the message has been handled.

See also

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