Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The Hitch Hikers Guide to Formsets
Message
De
09/07/1997 13:31:48
 
 
À
08/07/1997 22:52:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00038807
Message ID:
00039124
Vues:
30
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform