Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding Form to Formset On The Fly
Message
De
30/04/1998 16:13:02
 
 
À
30/04/1998 15:53:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00096098
Message ID:
00096110
Vues:
14
Thanks, > >>If I have a formset and I want to add >>forms (that were saved by Save As Class), >>how do I do it. >> >>i.e. >>Let's say I have the form that comes >>with the formset by default, and I >>want to add another form to the formset >>on the fly (not when the formset is >>created). >> >>There would be too many forms in the >>formset if I added the different individual >>forms at the time I created the formset. >> > >Thisformset.Addobject("formX","classX") > > I kept trying that and kept getting an error. I couldn't figure it out. Since the on-the-fly form is in the same vcx of the formset, when I issued Thisformset.Addobject("formX","classX") I would get an error. It seems that eventhough they (form and formset) are in the same vcx, you still have to add SET CLASSLIB TO same.vcx ADDITIVE Seems wierd.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform