Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Invisible pageframe and pages when adding object in runt
Message
De
22/05/2003 19:26:17
Bruno Di Lalla
Bdl Computer Consulting
Greely, Ontario, Canada
 
 
À
22/05/2003 06:33:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00791457
Message ID:
00792006
Vues:
24
>Hello Bruno.
>
>I created a pageframe class and named it xpgf. The pageframe has a pagecount of 0
>I created a page class and named it xPage
>
>Within init method of a form, I do the following:
>
>thisform.AddObject('PageFrame1','xPgf')
>thisform.pageFrame1.AddObject('TestPage1','xPage')
>thisform.pageFrame1.AddObject('TestPage2','xPage')
>thisform.PageFrame1.Visible=.T.

>
>What happens if you add this line of code:
>
>Thisform.PageFrame1.ActivePage = 1

Hello Marcia,

It works! Thanks a million!

Bruno
Bruno Di Lalla
Consultant
BDL Computer Consulting
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform