RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAppletApplication.CreateForm Method

Creates the Applet object or objects for the applet application.

Pascal
procedure CreateForm(InstanceClass: TComponentClass; var Reference); virtual;
C++
virtual __fastcall CreateForm(TComponentClass InstanceClass,  Reference);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!