Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why not formsets?
Message
De
08/12/1998 20:05:45
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00165334
Message ID:
00165377
Vues:
19
>Mark,
>
>In addition to what David has said;
>
>1) If a formset is to contain a form that other fomrsets also need, you can't use the same form. You nedd to duplicate the fomr in all formsets that need it instead of just calling the form you need.
>
>2) In most formsets I have seen the first thing that happens is to hide a bunch of forms. By using separate forms you don't hide anything because you don't create the form until it is needed.
>
>3) Formsets must create all contained forms even if the user will never visit some of them. This takes time and I prefer to have the user wait only for the forms that they are actually going to use.

Here's a curve on this - I've been writing all my forms as class definitions in .vcx files lately. It seems to me that this allows for moreflexibility in choosing their parent class and their functionality. The only thing I lose are the built-in DataEnvironment (which I write in code) and the TO clause, which I use an exit property for. Am I missing anything?
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