Unit 'CustWeb' Package
[Overview][Types][Classes][Procedures and functions][Index] [#fcl]

TCustomWebApplication.CreateForm

Creates a component instance with the web handler as owner

Declaration

Source position: custweb.pp line 157

public procedure TCustomWebApplication.CreateForm(

  AClass: TComponentClass;

  out Reference

);

Arguments

AClass

  

The component class to instantiate

Reference

  

Variable to store the created component 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.


Documentation generated on: Jan 27 2026