Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding Form to Formset On The Fly
Message
From
30/04/1998 16:13:02
 
 
To
30/04/1998 15:53:38
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00096098
Message ID:
00096110
Views:
13
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform