TCustomDBEditEh.DefaultHandler Method

Provides message handling for all messages that the control does not fully process itself.

procedure DefaultHandler(var Message); override;

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. 


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.

Copyright (c) 1998-2013. All rights reserved.
What do you think about this topic? Send feedback!