Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refreshing values in Grid
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Refreshing values in Grid
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01093853
Message ID:
01093853
Vues:
58
Hi,
This has probably been asked a million times, but can't find answer.
How do you refresh the values in a grid and continue to highlight the current selected item?

I have a temporary grdCursor based on a number of other cursors. Whenever I change a value in grid, I'm update the underlying cursors, and refresh the grdcursor.

The only way I can update the grid though is if I call the page (pageframe) activate() event. But then the grid it defaults back to selecting the top item in list.

Is there a more efficient way to refresh a grid, and highlight the current selection? Or do I have to write some code that stores the current selection and after activate() I recall that value?

Thanks for you help
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform