Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing cursor pointer
Message
From
03/12/2004 03:33:05
 
 
To
02/12/2004 23:08:08
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00966604
Message ID:
00966620
Views:
16
>I have a long action which may be initiated via click on a button or pressing "Enter" in ComboBox and the following code is run.
>
>
>thisform.MousePointer = 11
>my_long_calculation()
>thisform.MousePointer = 0
>
>
>The problem is that after pressing "Enter" in combobox regardless where I put this code ( keypress, valid , lostfocus or even timer event ) I can't achieve hourglass mouse pointer , it just disappears.
>No problem whatsoever with "Click" event for button.
>
>TIA

Michael, when the user presses the Enter key (any key) Windows hides the mouse cursor. Just move/activate the mouse cursor to make it reappear before changing the cursor shape.
MOUSE AT MROW("",3),MCOL("",3) PIXELS   
* then change the mouse pointer
I would also consider changing the mouse pointer for _SCREEN rather than just THISFORM mouse pointer.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform