Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checkboxes in Forms
Message
De
30/12/1999 17:57:55
David Fluker
NGIT - Centers For Disease Control
Decatur, Georgie, États-Unis
 
 
À
30/12/1999 15:34:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00310654
Message ID:
00310722
Vues:
13
Rob,

Try this in the Keypress event of the checkbox...
IF nKeyCode = 13
   KEYBOARD TAB
   NODEFAULT
ENDIF
This prevents the Carriage return from going to the keyboard buffer and puts a TAB in there instead.

David.


>VFP6.0 I have placed a checkbox within a grid. I want the checkbox only to be selected/deselected on a mouse click or space bar, not a carriage return. Right now whenever you press enter to pass the column, it changes the status of the checkbox, is there any way to prevent it.
>
>Any ideas...
>
>TIA
>
>Rob
David.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform