Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing cursor pointer
Message
De
03/12/2004 03:33:05
 
 
À
02/12/2004 23:08:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00966604
Message ID:
00966620
Vues:
10
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform