General information
Category:
Forms & Form designer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only