Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to set pocus to a tabless page
Message
De
29/02/2004 20:48:41
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
How to set pocus to a tabless page
Divers
Thread ID:
00881930
Message ID:
00881930
Vues:
42
I must rely too much on the framework :}

How do you set focus to page 2 of a pageframe that has Tab = .F. at the click of a command button?

This does not work:

Thisform.pageframe1.page2.SetFocus()

If tabs are prsent it works. I also tried setting focus to the first control in page2 but that doesn't work either. Neither does adding Thisform.Refresh().

TIA,

Alex

BTW, it works if I say:

Thisform.Lockscreen = .T.
Thisform.pageframe1.Tabs = .T.
Thisform.pageframe.page2.Setfocus()
Thisform.pageframe1.Tabs = .F.
Thisform.Lockscreen = .F.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform