Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Option Buttons and Enter Key
Message
De
29/07/2001 10:49:28
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
29/07/2001 01:55:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00536946
Message ID:
00536973
Vues:
8
>Hi Everybody,
>I have a Option Button Group on my form. I want to set focus to the next object when either of the option is selected. I wrote the command for this in the click event of the option group like - THISFORM.TxtFileName.SETFOCUS. When I ckick on the option button, control goes to TxtFileName, but if I select the option button by pressing the Enter Key, control goes to the object next to TxtFileName. Why this Happens?
>
>Regargs,
>Yash.

To what Nancy said, I want to add that TAB is the standard Windows key to go to the next field (Shift-TAB goes back to the previous field). ENTER and DOWN-ARROW work sometimes, but sometimes they have side-effects. You can either say "Well, this is the standard Windows interface (see, for instance, MS-Word dialogs)", or continue trying to change the definition of ENTER (and, perhaps, DOWN-ARROW) in some controls.

Hilmar.
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