Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get form reference
Message
From
30/08/1999 01:24:02
 
 
To
27/08/1999 08:48:53
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00258270
Message ID:
00259037
Views:
20
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...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform