Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
About toolbar
Message
De
27/09/1999 09:38:05
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
À
27/09/1999 09:31:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00269278
Message ID:
00269280
Vues:
25
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform