Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CheckBox.Click when any key is pressed
Message
De
06/06/2005 08:04:52
 
 
À
06/06/2005 07:54:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01020426
Message ID:
01020430
Vues:
16
Put this line in the InteractiveChange event:
this.click()
Update: You need this line to be able to switch value via a hotkey, defined by \<

>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform