Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with custom column class
Message
From
10/12/2003 08:19:04
Larry Long
ProgRes (Programming Resources)
Georgia, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Problem with custom column class
Miscellaneous
Thread ID:
00857586
Message ID:
00857586
Views:
62
I am having trouble instantiating a non-visual custom column class. The docs say to use the HeaderClass (and not the grid's MemberClass) property for custom columns but does show an example. (I don't understand why you wouldn't use the grid's Memberclass, since the only child members in a grid are columns) Can someone pls show me an example?

This is what I have so far...

DEFINE CLASS kr_Column AS COLUMN
PROCEDURE INIT
DODEFAULT()
THIS.ADDOBJECT('kr_Text','kr_TextBox')
THIS.CURRENTCONTROL='kr_text'
ENDPROC
ENDDEFINE

DEFINE CLASS kr_TextBox AS TEXTBOX
CURRENT=.F.
ENDDEFINE

TIA,
Larry Long
L.A.Long
ProgRes
lalong1@charter.net
Next
Reply
Map
View

Click here to load this message in the networking platform