>>Hi all, I recently changed the memberClass and memberClassLibrary properties of my grid base class.
>>I new I was goin to break all the grids in forms, but I thought I could solve it by hacking the SCX files.
>>I tried to hack them but with bad results.
>>
>>Does someone know what do I have to tweak in the SCX so that the columns defined in my grids become columns of the class defined in myGrid.memberClass?
>>
>>Thanks is advance,
>>Javier.
>
>Try this but do a good backup first, keep in mind I not tested it:
>
>USE YourForm.SCX
>SET FILTER TO BaseClass == "Grid"
>LOCATE
>BROWSE
>
>*Go to Properties field and change MemeberClass row
>
>After that recompile the form
Thanks for the answer. I tried it but I get the followin error: "Error loading file record ...: Header1 or one of its members. Parent: Object class is invalid for this container"
I have started with a very simple column class defined in a PRG:
define Class jColumn as Column
procedure init()
return doDefault()
endproc
endDefine
And it does not work. It's even worse if I set the headerClass and headerClassLibrary properties.
Thanks,
Javier.