Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refreshing a Grid without switching pages…
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00134367
Message ID:
00135252
Vues:
9
Brenda,

THe PageRefresher object doesn't specifically address anything other than making sure the page it's on goes through a Refresh() on the UIEnable event which happens when the page is activated.

What is the datasource of the grid? table? view? cursor? I don't know that I've ever had code structured so that the datasource for a grid can change while the grid itself has focus. That usually only happens in my forms when the parent table changes records and the view gets requeried, the parent table record can't change while a child grid has focus. You might need to temporarily remove focus from the grid and bring it back. If you have no other objects you might use a control that has negative .Top and .Left properties that make it not visible to the user.

>i am having a problem right now with pageframes and grids not refreshing. have pinned my problem down to setfocus. seems that the grid will not refresh properly is it has the focus. unfortunately it is the only input field on the page. can avoid some of my problem with setting focus to the page at the beginning of activate. but during deletes and adds it gets messy. david, have you ever heard of this, do you have any idea? does your download address this?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform