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 09:59:54
 
 
To
14/10/2005 09:57:20
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:
01059116
Views:
11
>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.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform