Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Headerclass in column problem
Message
From
12/08/2003 05:05:54
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00819193
Message ID:
00819277
Views:
11
Hi Gary,
I thinking you have not problem with header class. I thinking your grid have default COLUMN object. You must setup MemberClass and MemberClassLibrary for Grid object and be sure about class of column object.
here is little code block:



PUBLIC goForm
goForm = CREATEOBJECT("spForm")
goForm.Show()

DEFINE CLASS spForm As Form
ADD OBJECT Grid1 As spGrid
ENDDEFINE

DEFINE CLASS spGrid As Grid
MemberClass = "spColumn"
MemberClassLibrary = "c:\program1.prg"
ENDDEFINE

DEFINE CLASS spColumn AS Column
HeaderClass = "spHeader"
HeaderClassLibrary = "c:\program1.prg"
ENDDEFINE

DEFINE CLASS spHeader AS Header
PROCEDURE Click
=MESSAGEBOX("Header Click")
ENDPROC
ENDDEFINE

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform