On Tue, 13 Jun 2000, Alex Kouznetsov wrote:

> P.S. Does this actually mean there is _no_ way to change main form at run

Its not quite what you wanted.... but could you not do something like this
in the .dpr (psudo code):

{$R *.RES}

begin
  Application.Title := 'My Apps';
  Application.CreateForm(TDataModule1, DataModule1);
  if ParamStr(1) = 'app1' then
    Application.CreateForm(TformApp1Main, formApp1Main);
  if ParamStr(1) = 'app2' then
    Application.CreateForm(TformApp2Main, formApp2Main);
  Application.Run;
end.

And have two or three icons on the desktop with different parameters...

I don't know if modifying the .dpr here would cuase any problems with
Delphi, but its a possible solution.




-- 
I am naked, hear me purr.
Now Playing: <no audio cd present>

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to