Hi again everybody,
I have a form with a pageframe.
On the first page there is a grid with some vlues already entered in. I want the user to choose a record by clicking on one line from the grid. Base on the record choosen by the user, I refresh some view and I move to another page(page3) in the page frame, refresh everything and let the user continue.
The problem I have is that the description from the grid(page1) is display in the middle of the new page that get activated, it only desappear when I click to another page in the pageframe then back to my page3.
In "AfterRowColChange of the grid, the code is like this:
Requery("pmproj")
thisformset.form1.pageframe.activepage = 3 &&( = pageframe.project)
Thisformset.form1.lockscreen = .t.
Thisformset.form1.lockscreen = .t.
with thisformset.form1
.pageframe.notes.refresh()
.pageframe.stage.refresh()
.pageframe.prices.refresh()
.pageframe.company.refresh() && (page1)
.pageframe.project.refresh() && (page3)
.refresh()
endwith
Thisformset.form1.lockscreen = .f.
I tried different combination of refresh() and also I tried to setfocus on a specific field on page3 nothing worked out.
Should I move the code somewhere else?
Diane Robitaille eng.