Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invisible pageframe and pages when adding object in runt
Message
From
22/05/2003 19:26:17
Bruno Di Lalla
Bdl Computer Consulting
Greely, Ontario, Canada
 
 
To
22/05/2003 06:33:28
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00791457
Message ID:
00792006
Views:
25
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform