Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Popup tied to Formset
Message
De
04/12/1999 18:50:33
 
 
À
04/12/1999 18:43:25
Loren Fedje
Loren D. Fedje & Associates Ltd.
Chilliwack, Colombie Britannique, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00298725
Message ID:
00298791
Vues:
13
>Thanks but I am still not sure what to do.
>
>I am not calling the form from the Main Prg., the Main program calls a program called openfile which calls the formset with Do Form Myform.

You're correct that you can't use Thisformset in menu/popup procedure. Therefore, as Bruce told you, you must create reference to the formset, i.e. when you start it use NAME clause of Do Form command, e.g.
Do Form myformset NAME oApp.myformset LINKED

oApp.myformset is property of your application object. If you don't have one you may use PUBLIC variable:
Do Form .... NAME oMypublicvar LINKED

Now, you may call any PEM of your formset, as
oApp.myformset.myPropertyEventMethod
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform