Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DEClass in Formsets?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00725460
Message ID:
00726733
Vues:
39
Bob,

In a formset, the dataenvironment is contained by the formset, not the forms. You refer to the dataenvironment as ThisFormSet.DataEnvironment.cursor.blah.blah.blah... All forms in a formset share the formset's dataenvironment by default. Since each form in the set is already instantiated all you have to do is show/hide each form. When the last form in a formset is released the formset is automatically released. ThisFormSet.Refresh(0) automatically refreshes all forms in the formset. I could go on ad nauseum about the advantages of using a formset. The only issue I have to deal with is if I want only one of the forms in the set to be modal. This is not supported. So, I simply llaunch a single form formset designated as modal and life is good.

MSFT did not add the MemberClass or MemberClassLibrary properties to the formset class, only the form class. Bummer...

Jeff
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform