DelphiDelphiVCLPythonPython GUIWindows

What Is The ExecuteAction Method In DelphiVCL.Application?

DelphiVCL.Application.ExecuteAction blog banner

Use the ExecuteAction method or DelphiVCL.Application.ExecuteAction to generate an OnActionExecute event.

When the user invokes an action, a series of calls ensue to respond to that action. First, the action list that contains the action generates an OnExecute event. If the action list does not handle the OnExecute event, then the action is routed to the Application object’s ExecuteAction method, which invokes the OnActionExecute event handler. (The application’s ExecuteAction method responds to all unhandled actions in the application.) If the OnActionExecute event handler does not handle the action, then it is routed to the action’s OnExecute event handler. If that does not handle the action, the active control’s ExecuteAction method is called, followed (if necessary) by the active form’s ExecuteAction method.

Why you should not call ExecuteAction

Do not call ExecuteAction. It is called automatically when the user invokes an action. The Action parameter specifies the action that was invoked. ExecuteAction checks whether the application knows how to perform its function and if so, executes the action and returns true. Otherwise, ExecuteAction returns false, and the default processing for the action continues.

How to browse the properties, methods, and built-in properties of the DelphiVCL.Application.ExecuteAction.

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

See the responses in our Windows command prompt:

0dir-3022343

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

See the responses in our Windows command prompt:

0print-3325690

 


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

close
Related posts
Learn PythonPythonPython GUIVideos

How To Make Your Data Visualization Effective

DelphiDelphiVCLPythonPython GUIWindows

This Is A List Of All Routines And Classes in the VCL

DelphiDelphiVCLPythonPython GUIWindows

What is DelphiVCL.Application.CreateHandle?

DelphiDelphiVCLPythonPython GUIWindows

Creating A New Application With DelphiVCL.Application.Create

Leave a Reply

Your email address will not be published. Required fields are marked *

en_USEnglish