Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reference one form from another
Message
 
 
To
18/07/2000 00:11:18
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00393630
Message ID:
00393800
Views:
17
The function below is a generic function that you could implement as part of your form manager or as a function in a procedure file. From the form where you want to do something, make a call like:

oOtherForm = GetFormReference("OtherFormName")
or
oOtherForm = oFormManager.GetFormReference("OtherFormName")

Now you have an object reference to the other form and you can access any of its public PEMs as needed. Ex. oOtherForm.Refresh()

, snipped >

>
>O.K. Now I see how it gets the "reference number" of the form that I want to operate on, but how does it work in an expression? For instance, if I want to refresh() this form, would I just say:
>
>luretval.refresh()
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform