Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DEClass in Formsets?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00725460
Message ID:
00727098
Views:
40
>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

Oh yea, thanks for bringing that up Jeff, that modal window thing was another detractor to the implementation.

In your workaround, why does a modal form need to be in a formset?
Kendall Webb
Senior Software Engineer
MCAD.Net/MCSD.Net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform