Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with custom column class
Message
 
 
To
10/12/2003 08:19:04
Larry Long
ProgRes (Programming Resources)
Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00857586
Message ID:
00857804
Views:
25
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform