Application.CreateForm is a method of TApplication that calls the
constructor (TForm.Create) of the form specified. The Application becomes
the form's owner.

Note: By default the form created by the first call to CreateForm in a
project becomes the application’s main form.

If you did not call Application.CreateForm in the project file then
presumably it would not know which is the main form.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of vss
> Sent: Monday, 15 October 2001 10:15
> To: Multiple recipients of list delphi
> Subject: [DUG]: Application.createform Vs. frm:=TForm.create
>
>
> Hi all.
>
> What is the difference of doing "Application.createform" as apposed
> to "frm:=TForm.create" ?
>
> I cant see any real advanatage in doing one over the other, but I could
> be wrong.
>
> Can anyone shed some light on this?
>
> Thanks, Jeremy Coulter
>
>
> ------------------------------------------------------------------
> ---------
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
> Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
>

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to