Detecting cursor type

D

Dale Fye

When I'm running through long processes, I generally display an hourglass so
my users know that something is going on. Under some circumstances, this
will involve opening another form, to get input.

What I want to do is determine whether the Hourglass is on when that form
opens, so I can turn it off, then turn it back on when I leave that form. I
assume that there is a way to detect the cursors present state, but have not
been able to figure it out.

Dale
 
D

Dirk Goldgar

Dale Fye said:
When I'm running through long processes, I generally display an hourglass
so
my users know that something is going on. Under some circumstances, this
will involve opening another form, to get input.

What I want to do is determine whether the Hourglass is on when that form
opens, so I can turn it off, then turn it back on when I leave that form.
I
assume that there is a way to detect the cursors present state, but have
not
been able to figure it out.


Dale -

Check out Screen.MousePointer. For example,

DoCmd.Hourglass True : ?Screen.MousePointer
11
Docmd.Hourglass False : ?Screen.MousePointer
0
 
D

Dale Fye

I knew it had to be easy.

Thanks, Dirk!

Dirk Goldgar said:
Dale -

Check out Screen.MousePointer. For example,

DoCmd.Hourglass True : ?Screen.MousePointer
11
Docmd.Hourglass False : ?Screen.MousePointer
0


--
Dirk Goldgar, MS Access MVP
Access tips: www.datagnostics.com/tips.html

(please reply to the newsgroup)
 

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

Top