Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setfocus based on Tab Order = 1?
Message
De
10/11/1997 20:50:07
 
 
À
10/11/1997 19:44:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00059420
Message ID:
00059434
Vues:
30
>Is it possible to detect which control has a tab order of "1" and to set focus to that control?

lnMin = 9999

FOR lnI = 1 TO _Screen.ActiveForm.ControlCount
IF _Screen.ActiveControl.TabIndex < lnMin
lnMin = _Screen.ActiveControl.TabIndex
loControl = _Screen.ActiveControl
ENDIF
ENDFOR

loControl.SetFocus()
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform