Detecting cursor type

  • Thread starter Thread starter Dale Fye
  • Start date Start date
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
 
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
 
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)
 
Back
Top