Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refresh of grid sometimes fails
Message
From
11/06/2021 17:51:10
 
 
To
13/01/2021 14:30:36
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01677764
Message ID:
01681152
Views:
57
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform