Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid refresh issue
Message
From
09/07/2003 01:46:32
Dorin Vasilescu
ALL Trans Romania
Arad, Romania
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00808189
Message ID:
00808316
Views:
9
Tried this, will simply crash Foxpro :-(, no way to get out because the search form is modal and this command activate the underneath form, then nothing to do but Ctrl+Alt+Del.

Anyway, I think I found the solution.

I've made the search form modeless but Always On Top. There is a flick, but I can live with it. And I store the search form reference to a calling form property. If the user will close it, THIS.SearchFormRef.Release is executed in QueryUnload.

Thanks and have a nice day.


>Hi Dorin,
>We do something like this (a FIND form that searches the grid, similar with CTRL+F used on a browse), and refresh will scroll the grid and highlight the row, but not move the record pointer. Highlighting in conjunction with a text on the FIND form saying "Found" or "Not found" is good enough, for us...
>I believe you need to setfocus on the grid for the record mark to move - thisform.oCallingFormRef.setfocus.
Previous
Reply
Map
View

Click here to load this message in the networking platform