Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refresh of grid sometimes fails
Message
De
11/06/2021 17:51:10
 
 
À
13/01/2021 14:30:36
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01677764
Message ID:
01681152
Vues:
59
Hi John,

I wanted to follow up on this again - if you don't mind explaining further, it seems really odd to set focus to some other object offscreen and then setting it back - what was the reasoning behind changing the focus? Does this force VFP to refresh the grid?

Albert

>Albert, we encountered numerous grid issues especially involving drag-drop or other resequencing, so had to come up with various techniques to ensure grids repaint correctly. Not sure whether already posted- but ensure focus is not still on the grid while processing its recordsource or refreshing afterwards. If necessary put a dummy control offscreen to receive focus, then restore it when done.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform