Have you tried with the mainform visible set to false ? If that failes,
set its position to off the screen.
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Send reply to: [EMAIL PROTECTED]
From: "Alex Kouznetsov" <[EMAIL PROTECTED]>
Subject: [DUG]: Changing main form at run-time
Date sent: Mon, 12 Jun 2000 13:18:24 +1000
> Hi
>
> Is there any way to change main application form at run-time ?
> After Application.Run call preferably.
>
> Something like that :
> 1) run application as normal with some kind of a base main form
> 2) get some kind of user input
> 3) get rid of current main form (destroy) and create and bring up another
> one which has to behave as main form.
>
> I have tried hiding base main application form and letting the user to
> interact with secondary form as if it was an application main form.
> Unfortunately this way I get lots of little annoying problems with
> application activating, minimizing,restoring etc.
>
> Thanks
> Alex
>
> ---------------------------------------------------------------------------
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
Rohit
======================================================================
CFL - Computer Fanatics Ltd. 21 Barry's Point Road, AKL, New Zealand
PH (649) 489-2280
FX (649) 489-2290
email [EMAIL PROTECTED] or [EMAIL PROTECTED]
======================================================================
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz