Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Commanding pages
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00117842
Message ID:
00118578
Vues:
21
Hi Michelle,

If this code does not work on your computer then you have some other problem as this one works perfectly on mine.
WITH thisform.pgfPageFrame
   FOR lnI = .PageCount TO .PageCount + 2
      lcName = SYS(2015)
      .AddObject(lcName, 'Page')
   NEXT
ENDWITH	
The same also works with any page class.

>In the init of the form, I run the code that defines the "TripPage" class. Then I try to use it, and it says it's not a class.

You don't need to run the code. Just do a SET PROC TO Whatever and you should be ok.

>Is there some way to put a programatically created class in a .vcx?

Basically use CREATE CLASS and then cut and paste. There might be something better but this looks like a whole new thread. :)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform