Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create a 'column or header as a class'
Message
 
 
To
31/08/1999 14:47:50
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00259719
Message ID:
00259821
Views:
17
Thanks Mike, I'll try it.

>Hi Rodolfo,
>
>>How do I do it?
>
>You define it like this:
>
>
define class myheader as header
>
>procedure click
>
>    This.Parent.Parent.HeaderClick(this)
>
>endproc
>
>enddefine
Then you add it at run-time by removing the existing header and doing an addobject(). Then in your grid class make sure you have a HeaderClick method so you can add your code to the grid, this way you only need one header class kicking around, with multifunctional headers.
Rodolfo Martín Villanueva
Previous
Reply
Map
View

Click here to load this message in the networking platform