Site icon Python GUI

Understanding DelphiVCL.Application.DefaultHandler

featuredimage2 4

Use the DefaultHandler method or DelphiVCL.Application.DefaultHandler to provide the interface for a method that processes message records.

DefaultHandler is called by Dispatch when it cannot find a method for a particular message. DefaultHandler provides message handling for all messages for which an object does not have specific handlers. Descendant classes that process messages override DefaultHandler according to the types of messages they handle.

Note: In a Delphi message-handling method, calling inherited results in a call to the ancestor’s DefaultHandler method only if that ancestor does not specify a message method for the particular message being handled. Otherwise, calling inherited results in a call to the specific handler for that type of message.

Let’s browse all the properties, methods, and built-in properties of the DelphiVCL.Application.DefaultHandler using dir() command:

[crayon-663148c90ae03621352364/]

See the responses in our Windows command prompt:

You can also read short information about the DelphiVCL.Application.DefaultHandler using the print() command:

[crayon-663148c90ae13872017164/]

See the responses in our Windows command prompt:

 

Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.

Exit mobile version