Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I add page class to my pageframe?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00933193
Message ID:
00933221
Vues:
26
>So now I'm assuming I probably have to add this page to my pageframe programatically. So where do
>I put the code to add my page class to my pageframe? My pageframe areadly has several pages, but I
>need to add this page class at the end. Also does this mean that after I added my page class, I
>then add my container programtically. Is adding page class done at runtime or can things be done
>at design time?

If you want to programatically add page classes at design time, you can use the ASELOBJ() function to get a reference to the PageFrame, and then do AddObject() or NewObject() to add your page. For example,
MODIFY FORM fred
*!* Select the pageframe here 
ASELOBJ(aPGF)
aPGF(1).NewObject("page3", "pagTest", "pagTest.vcx")
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform