[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Creates a Form or component, owned by Application.
Source position: forms.pp line 1454
public procedure TApplication.CreateForm( |
InstanceClass: TComponentClass; |
out Reference |
); |
InstanceClass |
|
The component class. |
Reference |
|
The variable receiving the new component reference. |
Note: The name is confusing and only kept for Delphi compatibility. It can actually create any kind of component.
Creates a Component instance of the given class, sets the pointer to the component variable.
If it is a form it will be added to the application's forms list.
A splash form is shown immediately.
lazarus-ccr.sourceforge.net |