Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to prevent check box selection
Message
De
05/10/2005 08:59:05
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
05/10/2005 08:55:36
Mk Sharma
Shrishti Solutions
Mumbai, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01056218
Message ID:
01056222
Vues:
32
>i want to stop check box selection by presing enter button.
>
>when i press enter key on my checkbox it is selected/deselected but i want to select/deselect my check box by presing spacebar only.
>
>warm regards,
>mk.

You could play with the KeyPress event. If the key is ENTER, either do nothing, or go to the next field by giving the command keyboard "{TAB}".
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform