Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CheckBox ENTER change the value and exit. Why ?
Message
De
23/04/2004 12:25:24
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
23/04/2004 12:00:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00897642
Message ID:
00897656
Vues:
10
>If you do this on a CheckBox:
>- Go into a CheckBox
>- Space -> change the value
>- Enter -> rechange the value and go into the next control !
>
>This way to work of Enter is documented?
>Personally I have not seen it in no place, not even in the tools of VFP.
>
>Someone has one solution without to use KEYBOARD TAB into KeyPress ?
>
>Thanks

I have not seen it documented. However, I think this is (more or less) standard Windows behavior, and not any specific invention of VFP.

I tell my users that the standard Windows key to advance to the next control is TAB (try pressing ENTER in a Word dialog!), and not ENTER or arrow-down, and that the use of other keys can have unintended side-effects.

Of course, if users have to input lots of numbers, ENTER is closer at hand than TAB, so they usually press ENTER. However, IMO, while you might redefine ENTER in some very specific cases, in the general case they should be told what to expect with different kinds of controls. After all, you don't want to make your interface too different from standard Windows.

This is more a problem for people accustomed to DOS; but they should gradually be educated to the Windows interface.
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