>I try to Add an Object to a column in a grid like:
>
>THIS.COLUMNS(THIS.COLUMNCOUNT).ADDOBJECT("myClass","Mysubclass")
>
>and the program gave me an error that said: Unable to find class
.
>
>I include SET CLASSLIB TO ADDITIVE but still doesn't work.
>
>What i wanna do is change the regular textbox of the column with a textbox class i create
>
>Thanks,
Franciso,
I addition to the excellent code, Ed provided, you can look at Help for NewObject method, if you're using VFP6.0. It allows use to avoid set classlib hassle...
If it's not broken, fix it until it is.
My Blog