|
Off the top of my head...
Put a timer on your form with an interval of 0 or 1ms or
something. In the OnTimer event, close your form.
In the OnShow, set the Active property of the timer to
True.
I don't currently do visual Delphi development, so my
memories of event names & properties may be a littl eoff, but I think it's
something you could try?
Cheers,
C. From: Paul Mckenzie [mailto:[EMAIL PROTECTED]
How do I Auto-Kill a Modal Form ?
I have a Form that I ShowModal
OnActivate or OnShow I do a load of processing
(updating a ProgressBar).
Then I want the Form to automatically
Close...
How do I get it to Close - I have tried
setting ModalResult - but it seems to just get ignored.
If I set ModalResult in a Control the user
activates it works - but I need it to automatically
Close.
|
_______________________________________________ Delphi mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi
