Skip to content

TCustomWebApplication.CreateForm

Creates a component instance with the web handler as owner

Declaration

Source position: custweb.pp line 165

public 
procedure TCustomWebApplication.CreateForm(AClass: TComponentClass; 
                                          out Reference);

Description

Creates an instance of the specified component class with the web handler as the owner component. Provides a way to create forms and components within the web application context.

Errors

May raise exceptions during component creation.