Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP Tip - Mouse Cursor
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
VFP Tip - Mouse Cursor
Divers
Thread ID:
00244825
Message ID:
00244825
Vues:
66
I posted a question on how do you get the mouse cursor to reapper if a user TABs to a command button and presses the ENTER key. Whenever a users moves between controls using the keyboard the mouse cursor disappears. To resolve this, I placed the following code in the KeyPress of the command button:
LPARAMETERS nKeyCode, nShiftAltCtrl
if nKeyCode = 13
   Mouse Click at ;
      This.Top + This.Height/2, ;
      This.Left + This.Width/2 ;
      pixels window (wontop()) left
   NoDefault
else
   DoDefault()
endif
Mark McCasland
Midlothian, TX USA
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform