Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem between form(s)
Message
From
21/12/1999 22:13:41
 
 
To
21/12/1999 22:07:20
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00306676
Message ID:
00307117
Views:
31
Hi Wai,

>Now, the situation is i hv two form , formA contain a grid and formB i hv some textboxes to add record into a table and then i want formA.grid wil refresh after i add the record from formB.

You could do a This.Refresh() in the Activate() of FormA, OR pass a reference to FormB of FormA (I do this for many reasons) and store it to a property. Then after you add the record and before you release FormB, Refresh() FormA using the object reference property. Example:

*FormA.AddButton.Click
DO FORMB WITH THISFORM

*FormB.Init
LPARAM toCaller
This.oCaller = toCaller

*FormB.CloseButton.Click()
Thisform.oCaller.Refresh()
Thisform.release
Previous
Reply
Map
View

Click here to load this message in the networking platform