Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
New Methods in Formsets
Message
From
16/04/2011 16:52:21
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
New Methods in Formsets
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01507601
Message ID:
01507601
Views:
97
I've never worked with formsets (thought they sounded like a really bad idea), but now have need of one for a special purpose. I can't seem to find any way to add a new method to a form contained in the set. The menu Form>New Method adds the new method to the set, not a contained form. Tried hacking the VCX file Methods field, then recompiling the form, but that failed as well. The reason for doing this: some classes, like an address container class, have calls to "thisform.mymethod" that exist in certain form subclasses, but not in the form in the set added with menu Form>Add New Form. I presume that a call to thisform.mymethod will not get bumped up hill to thisformset.mymethod. Is there some way to add methods to a a form contained in a formset?
Ray Roper
Next
Reply
Map
View

Click here to load this message in the networking platform