Automatically close a form

Posted by John, DelphiLand Team on March 01, 2008

In Reply to automatically close a form

: How can I automatically close a form after a certain time?
: I want to show a warning message, but if the user doesn't react within 60 seconds the form with the message must close and the program must continue.

In DelphiLand's "Code Snips" section, we have this source code example for a self-closing dialog form:

A self-closing dialog box

I hope that's what you wanted :)

Regards,
John, DelphiLand Team