Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refreshing values in Grid
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Refreshing values in Grid
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01093853
Message ID:
01093853
Views:
60
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
Next
Reply
Map
View

Click here to load this message in the networking platform