Vcl.StdCtrls.TCustomEdit.DefaultHandler
Delphi
procedure DefaultHandler(var Message); override;
C++
virtual void __fastcall DefaultHandler(void *Message);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.StdCtrls.pas Vcl.StdCtrls.hpp |
Vcl.StdCtrls | TCustomEdit |
Description
Provides message handling for all messages that the control does not fully process itself.
Override DefaultHandler to change the default message handling for the edit control. The Message
parameter can be cast to a TMessage type to obtain the WParam, LParam, and Result of the message. If the Result of the message is non-zero, the message has already been handled. Set the Result field to a non-zero value to prevent further processing of the message by the inherited method.
Note: In Delphi, calling inherited in a message-handling method results in a call to the ancestor's DefaultHandler method if that ancestor does not specify a handler for the message being handled.