Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
tablerevert in Grid
Message
 
À
09/12/1997 14:58:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00063641
Message ID:
00064762
Vues:
73
You didn't miss anything. There is a problem -- dare I say it BUG -- in refreshing grids directly. Change your refresh lines to be like the following:

thisform.pageframe.page1.refresh()

This will refresh the entire page as well as the grid.


>>DE means DataEnvironment. You can set property in Form Designer or programmatically using Thisform.DataEnvironment.CursorX....., or using Cursorsetprop().
>
>I have it worked now. Thanks for your help. But now, I have another question. Sorry for having that many questions.
>
>Once I have the tables reverted, the information showing on the grids did not get "refreshed". I use the following code on reverting my tables.
>
>SELECT child1
>=tablerevert(.T.)
>=thisform.pageframe.page1.grid1.refresh()
>
>SELECT child2
>=tablerevert(.T.)
>=thisform.pageframe.page2.grid2.refresh()
>
>SELECT child3
>=tablerevert(.T.)
>=thisform.pageframe.page3.grid3.refresh()
>
>SELECT parent
>=tablerevert(.T.)
>thisform.refresh()
>
>Did I miss something on "refreshing" the screen?
>
>
>Chu
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform