Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
About toolbar
Message
From
27/09/1999 09:38:05
 
 
To
27/09/1999 09:31:48
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00269278
Message ID:
00269280
Views:
26
Andrews-
You typed:
thisformset.activefor.save()
. I assume it should be:
thisformset.activefor<b>m</b>.save()
In any case, I think the problem is that the active form in your formset, at that point, is the toolbar. What I would do is add a custom property to the toolbar class (or the formset would work, too) called oActiveForm. Then, in the activate method of each form, assign a reference to the form to the property. Then your toolbar can simply call the method thru the property. For example:
*!* Form1.activate()
thisformset.oActiveForm = this
Then, in the toolbar save button:
thisformset.oActiveForm.save()
HTH
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform