[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Creates a Form or component, owned by Application.
Source position: forms.pp line 1607
public procedure TApplication.CreateForm( |
InstanceClass: TComponentClass; |
out Reference |
); |
InstanceClass |
|
The class type used to create the new instance. |
Reference |
|
The variable for the new component reference. |
Remark: | The method name is slightly misleading, and kept only for Delphi compatibility. The method can actually create any kind of component. |
CreateForm creates a Component instance of the given class, and sets the pointer to the component variable. If it is a form, it will be added to the list of forms in the application.
A splash form is shown immediately.
Version 3.2 | Generated 2024-02-25 | Home |