message box settings

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a button on my main menu form called exit, to which i have linked a
macro which triggers a message box, so the message box opens when the button
is pressed. the message box asks the user if they are sure they would like to
exit, and it they press ok the db closes, if they press cancel nothing
happens. however, the user may press the exit button and walk away from the
computer leaving the message box on the screen, Would it be possible to set
the message box to go away after being on the screen for two minutes?
 
Poni,

This would be easier to do if you made a little unbound form, and open
this form instead of the messagebox. You can make the form look very
similar to the messagebox, with the same buttons and the same
functionality. Then you can set the Timer Interval property of this
form to 120000 (2 minutes), and use the Timer event of the form to close
itself.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top