use a Timer,have it disabled , in onshowevent of the form enable it and at the end of it's times event disable it.
HTH On 9/11/05, Rainer von Saleski <[EMAIL PROTECTED]> wrote: > How do I go about having a form that "runs" (does something) when Shown, with > no additional user action (beyond that which caused to form to be shown)? > > When I put my action code inside the OnShow event handler, the form does not > actually display until the actions are complete. But I want to keep the user > informed during the 60 seconds or so it takes to do the action (compress a > bunch of files into a ZIP file and email it). > > This happens at the end of a chain of other events, and if I make the user > press a "Run" button after the form is displayed, half the time the users > forget to press it, and the backup files never get sent. > > There must be a simple answer ... > > Thanks, > Rainer > _______________________________________________ > Delphi mailing list -> [email protected] > http://www.elists.org/mailman/listinfo/delphi > _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

