Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PageFrame Order
Message
De
20/04/1998 09:57:44
 
 
À
20/04/1998 09:51:06
Jolene Dicks
Human Resources Development Canada
St. John's, Terre-Neuve, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00093381
Message ID:
00093384
Vues:
30
>I have a form that contains a pageframe. That pageframe contains a pageframe and finally that pageframe contains a pageframe. When one of the tabs on the third pageframe is clicked and then you click back on one of the tabs on the first pageframe, if you go back to click on the third it doesn't default to the first tab on that third pageframe. I included a Zorder() command on the tab of the first pageframe that contains the second pageframe and now anytime I click on the second pageframe (doesn't matter which tab), it automatically orders the tabs for me. I put the Zorder() command in the click event for that tab and it seems that anytime I click on a tab of the pageframe on that parent tab, it executes the code I have there for the click event. Is there another way around this?

Have you looked at the ActivePage property? For example, you could put in the Activate event of the first pageframe:

THIS.pgfSecond.ActivePage=1
THIS.pgfThird.ActivePage=1
THIS.Refresh()
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform