Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement