CtlPanel.TAppletApplication.CreateForm

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure CreateForm(InstanceClass: TComponentClass; var Reference); virtual;

C++

virtual void __fastcall CreateForm(System::Classes::TComponentClass InstanceClass, void *Reference);

Properties

Type Visibility Source Unit Parent
procedure
function
public
CTLPanel.pas
CtlPanel.hpp
CtlPanel TAppletApplication

Description

Creates the Applet object or objects for the applet application.

Do not call CreateForm in an application.The module manager calls CreateForm internally to register the applet objects with the applet application.

CreateForm instantiates a TApplet object for each applet contained in the applet application. CreateForm is called automatically, for the first applet module, when the applet application is first created. Subsequently, CreateForm is called for each new applet module added to the application. To add a new applet module, select File | New | Other from the menu of the IDE main window and choose Applet Module in the New Items dialog.

See Also