Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CGridList's SetOrder Method
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00394524
Message ID:
00394943
Vues:
11
>Of course I can, but I think of this as a bug in the framework, and would rather not override any of the framework methods.
>

Not really. If you look at the SetOrder method, you will notice that it accepts two parameters: the ControlSource and the tag. The click event in the header is easily adjusted to accomodate any custom control sources. You would be overwriting the framework methods really, because the grid builder actually puts the code in the grid header's click method. It's not part of the framework baseclass but a convenience put there for us by the builder. Your responsibility is to make sure your code doesn't step on the framework. It is very easy to modify the code to send the right parameters to the grid's setorder method.

Regards,

Jim Weil
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform