Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Another try, classes
Message
De
01/07/2004 06:15:52
Vladimir Zhuravlev
Institute of the Physics of Earth,Russia
Moscow Region, Russie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00919427
Message ID:
00919540
Vues:
8
Hello Steve.
Glad to hear someone from San Diego
I have been there in La Joalla a life ago , in 1988
You are very fare away from true in your try.
First of all page class can not live alon and can be part only
of pageframe
PageFrame is also should be on some form.
Sure you can do something like this
pgfr=createobject('pageframe')
set classlib to page.vcx
pgfr.addobject('yourpageclassname')
But this pageframe will never work alone.
So , what you have to do
Make some form
Put pageframe on it
Add pages to it from your class
You also can do it by code in the form init
This.addobject('pageframe1','pageframe')
set classlib to page
this.pageframe.addobject('page2','yourclasspagename')
this.pageframe1.page2.visible=.t.
Best wishes from Russia, Vladimir
MVP-2006-2011, PHD in Math and Physics ,
host of www.foxclub.ru,
VFP lector at Interface and Microinform companies
Head science researcher of VNIIA Rosatom.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform