On 2016-02-03 14:51, Kurt Wendt wrote:
Mike - thanks for all your input.
FYI - VFPSP2 v 9.00.0000.5815
https://www.berezniker.com/content/pages/visual-foxpro/vfp-90-versions
I've been testing of code on this test Form - and on there I have a Regular Grid and the subclassed Grid. So, I've been testing code on the regular grid - and have the current functionality to sort the data by hitting column header. Its just getting that similar code applied to that subclassed Grid that seems to be the issue. Of course, yeah, things will have to be implemented a bit differently.
That method, Data_resort, actually is the custom Method of the subclassed Grid - which will handle the sorting.
How about putting "thisform.Data_Resort()" in the Whatever.Click event?
Am trying out the BindEvent now, but, may resort to using your code below. Will report back on my progress...
I'm sure BindEvent is great as many greats here suggest it, but I never got into it.