Site icon Python GUI

How to use the DelphiVCL.Application.Run Method

pexels enric cruz lopez 6039243

DelphiVCL.Application.Run method used to execute the application.

Do not call DelphiVCL.Application.Run. In Delphi’s VCL, when creating a new project, The IDE automatically creates a main program block in the project file that calls the Run method. When the application is executed, the application’s Run method is called.

DelphiVCL.Application.Run contains the application’s main message loop. The call to Run does not return until the application’s message loop terminates.

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

[crayon-6621713f040ae237002124/]

See the responses in our Windows command prompt:

Here is the working example of the implementation of DelphiVCL.Application.Run:

[crayon-6621713f040c1210176693/]

 

See the complete code here and here.

 

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

Exit mobile version