Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Weird SetFocus behaviour
Message
De
08/04/2003 04:53:31
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Weird SetFocus behaviour
Divers
Thread ID:
00775012
Message ID:
00775012
Vues:
52
Hello, everyone

Place a on a form the following controls:

A optiongroup, a textbox and a checkbox. In the click event of the first option write the following:
Thisform.Textbox1.SetFocus
Now run the form and press enter on the first option. The focus will move to the checkbox (with one control further than specified in SetFocus command).

Can anyone explain why this? (I am aware how to workaround it, but I'm dying to know why is that).

Thank you.
Grigore Dolghin
Class Software.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform