Site icon Python GUI

What Is The OnHelp Event In DelphiVCL.Application?

httpswwwembarcaderocomproductsdelphi

What is the DelphiVCL.Application.OnHelp event?

The OnHelp or DelphiVCL.Application.OnHelp occurs when the application receives a request for Help. You can examine and set it in the IDE software.

How to use the DelphiVCL.Application.OnHelp event properly?

Write an OnHelp event handler to perform special processing when the user requests Help. The HelpContext and HelpJump methods automatically trigger the OnHelp event.

In Delphi, the THelpEvent type has the following parameters: CallHelp, Command, and Data.

Set CallHelp to true if the application should still invoke the Help system after the event. Set CallHelp to false to prevent the default response given by the Help system.

All application Help methods go through OnHelp. The application calls the Help system only if OnHelp’s CallHelp parameter is true or if no OnHelp event handler is assigned.

The event handler returns True if it succeeds, False if it fails. 

How can I examine the properties and methods of the DelphiVCL.Application.OnHelp event?

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

[crayon-6632fdb13d311733802524/]

See the responses in our Windows command prompt:

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

[crayon-6632fdb13d31b819804891/]

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