Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CheckBox.Click when any key is pressed
Message
De
06/06/2005 07:54:42
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
CheckBox.Click when any key is pressed
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01020426
Message ID:
01020426
Vues:
70
Fast data entry is paramount to the client, and Windows and mice are notoriously slow in that area.

So when a checkbox has the focus I'd like to be able to check / uncheck never mind what key the user pressed.

To that end I wrote in the KeyPress method
LPARAMETERS nKeyCode, nShiftAltCtrl
RaiseEvent(This,'Click')
Which does not work. The code get's executed and the box get's checked and unchecked in one move.
Peter Pirker


Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?

(Woody Allen)
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform