Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with custom column class
Message
From
10/12/2003 15:12:25
Larry Long
ProgRes (Programming Resources)
Georgia, United States
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00857586
Message ID:
00857838
Views:
22
Thanks. I finally got it to work. As for my comments about the help being wrong, I was misinterpreting it. I thought that the reference to the Column parent container was telling us to somehow use "HeaderClass" property when implementing custom columns. What it meant was to use the "HeaderClass" prop for custom Headers.

Thanks to all for your time!
Larry

>< Can someone pls show me an example?
>
>In the Prop. Sheet set:
> grid.MemberClass to "mycol"
> grid.MemberClassLibrary to "fullpathToMemberclasses.prg"
>
>Memberclasses.prg:
>
>****************************************************************
>* Put any #INCLUDE statement here.
>
>****************************************************************
>DEFINE CLASS myCol as Column
>****************************************************************
>Name = "myCol"
>FontName = "Verdana"
>FontSize = 8
>HeaderClass = "myHdr"
>* You can not leave this blank:
>HeaderClassLibrary = "fullpathToMemberclasses.prg"
>
>ENDDEFINE && myCol
>****************************************************************
>
>****************************************************************
>DEFINE CLASS myHdr as Header
>****************************************************************
>Name = "myHdr"
>FontName = "Verdana"
>FontSize = 8
>FontBold = .T.
>
>ENDDEFINE && myHdr
>****************************************************************
>
L.A.Long
ProgRes
lalong1@charter.net
Previous
Reply
Map
View

Click here to load this message in the networking platform