Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid field value stays on screen when changing page
Message
De
04/12/1999 15:49:53
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Grid field value stays on screen when changing page
Divers
Thread ID:
00298749
Message ID:
00298749
Vues:
79
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform