Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
This.setfocus not setting focus
Message
De
19/01/2000 09:24:42
 
 
À
19/01/2000 08:49:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00319809
Message ID:
00319841
Vues:
9
Hi Paul.

>>The focus, instead, remains on the command1, whose click event is fired by this code. Any idea of why it performs this way, and how I can get the focus where I want it?<<

it probably behaves this way because Command1 is the next object in the tab order on the form. Change your code like so to keep focus on the textbox:
if nKeyCode = 13
  this.parent.command1.click()
  NODEFAULT
Endif
Marcia
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform