Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The Hitch Hikers Guide to Formsets
Message
From
09/07/1997 13:31:48
 
 
To
08/07/1997 22:52:39
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00038807
Message ID:
00039124
Views:
32
>Something interesting about formsets: They are extremely lightweight (and fast-instancing) objects so they serve very well when you need the equivalent to CUSTOM class but with a private data session.
>
>Something else about FormSets: You can use them without making them top-heavy with forms. FormSets have ADDOBJECT() methods like any other container, so you can add Forms to the FormSet on a pay-as-you-go basis. Having a formset with a single form is about equivalent to having just the Form since the FormSet is so lightweight...

>FormSets are very cool and for some reason they have a bad rap...

I know that when I started working with VFP, they had a rather bad reputation - something of being a poor replacement for Screen Sets in older Fox versions. But the example you give is a very good idea, especially since I have always wished that the Custom class had a Private data session.

By the way, have you recently started writing in the UT? I know your work, but just today saw a post from you.
David M. Stowell
Ravenslake Consulting
Chicago, Illinois

e-mail: davidstowell@ravenslakeconsulting.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform