Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setfocus to the first control
Message
De
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:
00239983
Vues:
13
>Antonio,
>
>You can work through the controls collection and check the TabIndex property for each one until you find the one where TabIndex is 1.
>
>
>FOR EACH oCont IN Thisform.Controls
>    IF oCont.TabIndex = 1
>       oCont.SetFocus()
>       EXIT
>    ENDIF
>ENDFOR
>
>
>You may need to use PEMSTATUS() to insure that the control you are looking at has a TabIndex property.

Jim
I think I need something more, because I have pageframe in my class and I want to send the cursor to the first object of the first page of the pageframe. Could You help me once more?
Antonio Carlos Kleinübing
Systems Analyst
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform