Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Header click event in a grid with columncount -1
Message
 
To
22/03/2001 02:24:31
Rasheed Al Rasheed
Riyadh Armed Forces Hospital
Riyadh, Saudi Arabia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00487524
Message ID:
00487547
Views:
8
>Hi all ;
> The header click event is realy cool for placing codes to sort or color data in a grid, however, I frquently use a grid with columncount -1 because I use queries to gather the data and column count changes according to requests.
>Is there is a way to place code in the header clickevent programically.
>
>Thanks

You'd have to sub-class the header in a prg file, then iterate through the columns, use RemoveObject() to remove the header and then AddObject() to replace it with your class.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform