Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding run-time code to a header - grid control
Message
From
14/10/2005 10:35:31
Peter Garneau
Statistics Canada
Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01059114
Message ID:
01059143
Views:
9
Thanks!

>>I would like to add extra columns to a grid control at run-time. However, my problem is that I would like to add code to the header.rightclick method for each new header. Is there a way to do this at run-time?
>>
>>Or even a more generic question would be... Is there a way to add code to a method at run-time?
>>
>>Thanks
>
>Yopu always can create your own class for a Header. Check HeaderClass and HeaderClassLib properties of the Column. Othwer way is to use BINDEVENT to Bind RightClick event of the Header.
Previous
Reply
Map
View

Click here to load this message in the networking platform