|
-
Aug 9th, 2000, 07:39 AM
#1
Thread Starter
Lively Member
Hi everyone,
When I move from one form to another, no cursor is displayed. I want to display the hour glass cursor, when the next form is being opened.
I'm a beginner, so excuse my simple question.
Your help would be greatly appreciated.
Thank you.
-
Aug 9th, 2000, 07:50 AM
#2
Addicted Member
try this:
MousePointer = vbHourglass
then to turn if off
MousePointer = vbDefault
If you are a beginner, you may get caught out that the mouse does not change back from an hourglass if errors are encountered, I know I do ;-).
You will sool learn how to resolve this by placing MousePointer = vbDefault in the error_handler or something.
-
Aug 9th, 2000, 08:29 AM
#3
It's good idea to set the pointer for the whole screen.
In a CommandButton (In Form1)
Code:
Screen.MousePointer = vbHourglass
Form2.Show
In Form2's Load event
Code:
Screen.MousePointer = vbDefault
-
Aug 10th, 2000, 10:29 AM
#4
Thread Starter
Lively Member
Originally posted by Megatron
It's good idea to set the pointer for the whole screen.
In a CommandButton (In Form1)
Code:
Screen.MousePointer = vbHourglass
Form2.Show
In Form2's Load event
Code:
Screen.MousePointer = vbDefault
Megatron and Steven,
Thanks for your support and time. Your idea works.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|