Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Click Event From Grid Header
Message
From
10/11/1998 14:52:44
 
 
To
10/11/1998 14:49:46
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00156309
Message ID:
00156315
Views:
27
>Currently I have a grid on a form with several columns. Currently I had placed a check box on the form to sort the grid. In the click event of the check box I trigger a listbox which displays the fields to sort. Everything works fine.
>
>I want to move the code to each column header, but when I run the code, it works the first time but won't after that unless I close the form down. I would like to be able to use the grid headers like the headers in Windows Explorer(sorting of files by date, name etc..) so I can sort on the field just by clicking the grid header of the desired column.
>
>Thanks in Advance.
>
>Scott

It should work as long as you use SET ORDER TO ... in header.click event. If you use SORT and override grid.recordsource then you may get in some troubles.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform