Site icon Python GUI

What Is The DelphiVCL.Application.CreateForm Method?

What Is The DelphiVCLApplicationCreateForm Method

When you develop windows software use CreateForm method or DelphiVCL.Application.CreateForm to create a new form.

Call CreateForm to dynamically create a form at runtime. Developers do not need to add code for creating most forms, because typically one or more calls to CreateForm are added automatically to the project’s source when using the form designer.

CreateForm creates a new form of the type specified by the FormClass parameter and assigns it to the variable given by the Reference parameter. The owner of the new form is the Application object.

Note: By default, the form created by the first call to CreateForm in a project becomes the application’s main form.

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

[crayon-662c9efabd5b3614033181/]

See the responses in our Windows command prompt:

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

[crayon-662c9efabd5bb421363425/]

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