Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Double-click a grid cell?
Message
De
02/11/1999 20:23:04
 
 
À
02/11/1999 20:21:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00285131
Message ID:
00285868
Vues:
23
>Thanks, Erik. That's so simple it hurts.
>
>Now a new problem; same grid.
>
>The underlying table is a cursor I generate from a form method. The data changes, I rebuild the cursor using the form method. I do
>
> thisform.grid1.recordsource = thisform.grid1.recordsource
>
>to force the grid to refresh. This works, but now my grid cells don't respond to the double-click event any more. Oddly, my column formatting is lost also.
>
>Clues?

Before you recreate the source, set the grid's recordsource to "". And then set it back afterwards.

Alternatively, don't destroy the cursor, but ZAP it, and append in new results.
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform