Display hourglass

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

Guest

Greetings all. Is there a way to show an hourglass while a form is loading?
I am using Access 2003. I have seen references to this topic, but I can not
find an answer. Thank you.
 
Docmd.hourglass -1

Don't forget to toggle it back at the appropriate moment...
Krgrds,
Perry
 
Greetings all. Is there a way to show an hourglass while a form is loading?
I am using Access 2003. I have seen references to this topic, but I can not
find an answer. Thank you.

DoCmd.Hourglass True
' some more code here
DoCmd.Hourglass False
 
Thanks Perry. The hourglass works to a certain extent. On my form I have
used labels with click events to navigate rather than buttons because I like
them better. The last line of my form_open event is docmd.maximize and that
is where I put docmd.hourglass false. Even after the form is maximized the
labels still are not active for a few seconds at which point they will become
a little bit brighter. How can I know what is going on after the form has
maximized but before the labels are useable? I would like for the hourglass
to remain until the labels become active. Thank you.
 
Force a repaint before you maximise and include a DoEvents statement
after the maximise command.
Leave the Hourglass timing as you've set it.

Krgrds,
Perry
 

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