General information
Category:
Forms & Form designer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only