Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setfocus to the first control
Message
 
À
11/07/1999 15:12:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00239958
Message ID:
00240000
Vues:
9
Antonio,

Just drill into the pageframe, you will have to figure some of this out for yourself.
FOR EACH oCont IN Thisform.Controls
   IF oCont.Baseclass = "Pageframe"
      FOR EACH Ctrl IN oCont.Page1.Controls
         IF Ctrl.TabIndex = 1
            Ctrl.SetFocus()
            EXIT
         ENDIF
      ENDFOR 
      EXIT
   ENDIF
ENDFOR
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform