Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with custom column class
Message
De
10/12/2003 15:12:25
Larry Long
ProgRes (Programming Resources)
Georgie, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00857586
Message ID:
00857838
Vues:
21
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform