RandyDeWitt
IS-IT--Management
I am using VFP 7.0, service pack 1 with a single form that has a page frame control with 2 pages. On page 1, I have a grid displaying a subset of the data fields. On page 2, I have individual controls whose controlsource match the individual fields in my table.
In the activate method of each page frame, I placed a this.refresh() and a thisform.refresh() command. I also have a this.grid.refresh() command in the page 1 activate method to refresh my grid control.
My problem is, I added a third page to the page frame control by changing the page count property. I then added the same code to the activate method as page 2, but when I change records using the grid and choose page 3, the controls do not refresh until I give each control focus by clicking or tabbing into the individul control.
I am unclear on how to properly add a page to a page frame control so that the individual controls will refresh like the controls on the original two pages.
I would appreciate any help that may be offered. Thank-you.
Randy DeWitt
In the activate method of each page frame, I placed a this.refresh() and a thisform.refresh() command. I also have a this.grid.refresh() command in the page 1 activate method to refresh my grid control.
My problem is, I added a third page to the page frame control by changing the page count property. I then added the same code to the activate method as page 2, but when I change records using the grid and choose page 3, the controls do not refresh until I give each control focus by clicking or tabbing into the individul control.
I am unclear on how to properly add a page to a page frame control so that the individual controls will refresh like the controls on the original two pages.
I would appreciate any help that may be offered. Thank-you.
Randy DeWitt