Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with custom column class
Message
 
 
À
10/12/2003 08:19:04
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:
00857804
Vues:
27
This message has been marked as the solution to the initial question of the thread.
< 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
****************************************************************
- Andy Rice
San Diego, CA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform