Andreas Schneider <ak...@gmx.de> hat am 17. Januar 2012 um 16:08 geschrieben: > > My current use case is: > - show a login form > - when login succeeds, show a progress form (connection initialization) and close login > - on failure: go back to login > - on success: show the actual application form and close the login form Instead of Application.CreateForm create the form directly. For example: LoginForm:=TLoginForm.Create(nil); while LoginForm.ShowModal<>mrOk do ; LoginForm.Free; ... Application.CreateForm(Form1); |
Interesting idea ... that didn't occur to me yet. So I guess my use case IS covered already. Thanks :-)
--
Best Regards,
Andreas
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal