Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Header Click - How to do
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01419010
Message ID:
01419015
Views:
64
>Thanks for the answers about grid header colouring.
>Now, I want code to execute in the header.click event.
>
>I build the grid in code, and the underlying results can change. If they change, any code that I added in the clikc event of the header goes way. I need to trap the click and execute some code if user selects it.
>
>How do I add code to the grid header after it is created?
>Mike

Michael,

Check my new download for grdSorting - it covers this.

http://blogs.lessthandot.com/index.php/DataMgmt/DataDesign/grid-class-that-allows-sorting-by-clicki

it also gives a link to an alternative class by Paul Mrozowski.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform