Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to refresh one form from another
Message
From
12/10/2005 11:22:14
 
 
To
11/10/2005 17:38:43
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01058106
Message ID:
01058320
Views:
14
>Is it possible to execute refresh method of one form from another form?

In addition to Terry's approach, if the form you want to refresh is called the form you're currently in, you can get an object reference to it in the Load of the second form.
This.oParentForm = _Screen.ActiveForm
* And later you call the parent form refresh like this:
This.oParentForm.Refresh()
Regards,
Jim
Previous
Reply
Map
View

Click here to load this message in the networking platform