Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CGridList's SetOrder Method
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00394524
Message ID:
00394943
Views:
10
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform