Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp50 - Formset - Why?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00022100
Message ID:
00022114
Vues:
41
>>Why do you need a formset? Why can't you just make
>>single forms and call them when you need to?
>
>Yes, you can.
>
>By default, form sets imported form FoxPro 2.6 are created as VFP form sets - because a form set has extra events/methods which are directly backward-compatilbe with the old Foundation Read and its While, Valid etc.
>
>Form sets also have a shared datasession among the contained forms.
>You can add a toolbar to a form set.
>Form sets have a forms[] collection and formcount.
>
>
>Someone suggested using a formset for their application framework because of the forms[] and the ability to add toolbars
>
>I don't think that's a good reason to use them.
>I don't use them.

We've had several threads on this, as you know -- it's kind of a matter of taste, more than anything, I'd say. I still find it more practical to use formsets if a group of forms have a lot in common, will be edited simultaneously, and opened/closed simultaneously. I still use singles frequently, too...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform