Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tab index with pageframe out of sync
Message
 
 
À
27/03/2004 12:45:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00889821
Message ID:
00890257
Vues:
24
Michel,

At best VFP is going to put focus on the pageframe at startup because of now having keyboard navigation of the pages.

What version of VFP are you using? When I tested this in 8 the other night the pageframe and two command buttons were the only things in the tab order list. I just changed to interactive mode and see the same thing. The controls on the page are not involved in the tab order setting.

You'll need to put code in the Form.Init() to move focus onto the control in the page:

thisform.pageframe1.page1.text1.SetFocus()

and you really should iterate the controls to find the one control on the page with TabIndex = 1 and SetFocus() to it.

>I tried it. I put the PageFrame TabIndex to be 4 where the two textfield on it are having 1 and 2 and the Command buttons 3. This doesn't change anything. The focus, at startup, is still on the Command buttons.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform