Determine current cursor appearance

  • Thread starter Thread starter Dale Fye
  • Start date Start date
D

Dale Fye

I use docmd.hourglass true/false throughout my code to provide some feedback
to the user when a process is running.

Occassionally, I have nested processes that do this, so before I set it to
false, I really need to check what its value was when it entered the
subroutine. In Excel, I can use application.cursor to determine the current
value of the cursor. Is there something similar in Access?

Dale
 
hi Dale,

Dale said:
In Excel, I can use application.cursor to determine the current
value of the cursor. Is there something similar in Access?
Yes, Screen.Cursor.



mfG
--> stefan <--
 
Stefan,

I'm running A2003 (SP2), and that is not a property or method of the Screen
object, at least not that I can see. Is there a particular reference that I
need in order for that to work?

Dale
 
Hi Dale,
as far as I know, you can read the value of hourglass.
Debug.Print Hourglass will give you the current value for hourglass as True
or False.
I seem to remember that you can use docmd.Hourglass False without error if
hourglass is already false.

Jeanette Cunningham
 
Thanks, Dirk.

Exactly what I needed. Sure wish Microsoft would standardize some of this
stuff across applications!

--
Don''t forget to rate the post if it was helpful!

email address is invalid
Please reply to newsgroup only.
 
Jeanette,

Thanks for your suggestion, but what I want to be able to do is set a
variable to the value (programmatically), so that I can set the value back to
its original state when I leave a function or subroutine.

Dirk hit the nail on the head!

--
Don''t forget to rate the post if it was helpful!

email address is invalid
Please reply to newsgroup only.
 
Back
Top