Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid refresh issue
Message
De
09/07/2003 01:46:32
Dorin Vasilescu
ALL Trans Romania
Arad, Roumanie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00808189
Message ID:
00808316
Vues:
10
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
Fil
Voir

Click here to load this message in the networking platform