Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Code works only with Set Step On
Message
 
À
01/07/1999 11:51:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00236497
Message ID:
00236620
Vues:
10
>I have a grid I want to sort by clicking the header. I placed the code for sorting in the Click event of the header. But when I run the form and click the header nothing happens.
>
>If I put Set Step On or a browse command before the ThisForm.Refresh, the sort works perfectly. If I go back and remove the Set Step On or Browse, it doesn't work anymore.
>
>Any idea what is happenning and how I can work around it?

Without seeing the code you are using to set the order on the table I can only guess. You must call the grid's refresh after you change the order on the table and probably the grid's setfocus as well.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform