Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Subclassing headers
Message
From
03/12/1998 12:43:06
 
 
To
03/12/1998 12:22:58
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00163637
Message ID:
00163725
Views:
27
>>Getting the header into my grid, I think, can be done the same as with textboxes. I just run a program on the .SCX that replaces all of the classes.
>>
>>The thing I'm missing is what would the header class look like? I don't know how to programatically make a header.
>>
>
>In a .PRG do the following code...
>
>DEFINE CLASS MyColumn as Column
>
>property1 = ""
>property2 = "This Value"
>
>procedure Init
>* do all this stuff on init...
>endproc
>
>enddefine
>
>DEFINE CLASS MyHeader as Header
>
>* stuff like above
>
>ENDDEFINE
>
>**************
>BOb

Thanks. I missed the "as header" bit. I didn't have a clue how to make a header from scratch. :)

-Michelle
Previous
Reply
Map
View

Click here to load this message in the networking platform