Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid won't refresh
Message
From
21/10/2021 13:19:27
 
 
To
20/10/2021 14:53:39
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01682555
Message ID:
01682578
Views:
60
Likes (1)
>>>The result is no rows shown in the grid. (Not the empty grid you'd get without Safe Select). If I click onto _SCREEN and then back on the form, the grid fills in.
>
>IME this infuriating and time-wasting "feature" usually improves if you formally setfocus() to a control away from the grid before repopulating/refreshing it. I don't believe that a toolbar button will suffice; try thisform.btnDummy at -100,-100 whose only purpose is to receive focus. Bring focus back to the grid afterwards if needed.

This one did the trick. I set focus to a button and then back to the grid and all is well.

Thanks all for your suggestions.

Tamar
Previous
Reply
Map
View

Click here to load this message in the networking platform