Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get form reference
Message
De
30/08/1999 01:24:02
 
 
À
27/08/1999 08:48:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00258270
Message ID:
00259037
Vues:
22
Hi,
I think I didn't explain my problem in details and cause you misunderstood.
Like this, I have a top level form as Main windows for my application. When user click on my menu , my menu will call main windows's user defined method (doform()) for DO FORM operation .
First at all, user click on my menu to call frmA. Then, user might then call other form from my menu (e.g. frmSearch) too.
Now, there are 2 forms in my main windows. I need to reference frmA's user defined method from frmSearch which frmSearch is active form at that moment. I failed to reference frmA because the DO FORM operation is called in a method and the form name can't be referenced.
I was told that to has a public variable and use DO FORM frmA NAME var, but it is not flexible if I wat to have more general getformreference function.
How could I do so?

Thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform