Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Method in Grid Textfield stops working
Message
De
06/10/2002 11:20:21
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
 
 
À
06/10/2002 08:24:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00708183
Message ID:
00708193
Vues:
7
Peter

Two suggestions. First, you need to set the grid recordsource to space(0) before you refresh the cursor then set it back afterwards.

A better way is to create a cursor with the same columns as the sql cursor. Then when you refresh, you zap the cursor that the grid is using and then append from the sql cursor. Last year I changed my data handling classes to do this and my life is much better now.



>Initially everything works. The RightClick method assiated with the Grid1/Column1/Text1 field fires and does what it's supposed to (activate another page in the pageframe).
>
>Since the data in the grid are based on a SQL Server query, the data are frequently refreshed.
>
>At the first refresh the RightClick method stops working.
>
>I know from previous experience that the grid has trouble with binding, so I have tried setting the CurrentControl property back to the text field, but all in vain.
>
>
>
>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform