In addition to my previous note.
I have created forms with the object added in design view and everything works great. When it is done programmatically by adding a container with all the properties of the column to the form using ADDOBJECT(), the properties dissappear.
I have looked into the VCX manually (USE vcx) and see all of the properties that I have assigned to the columns.
I use ADDOBJECT() not CREATEOBJECT().
When the error comes up "Class Definition cusColumn not found."
1. I suspend the program.
2. Step once.
The line I am looking at is the first line of the INIT of the cusColumn object I defined.
I have hacked the VCX to point directly at the file C:\blah\blah\progs\ccolumns.prg instead of ..\progs\ccolumns.prg in both the grid object and in the container object. Just in case the path was a problem. Tested it and the error still exists. Since then I have reset the path back to the original.
I have checked just before the ADDOBJECT(lcObject, lcObject) is called, what the SET("PROCEDURE") looks like. cColumns.fxp, Library.fxp and cPages.fxp are all there.
I have checked the name of the object a thousand times. I have never renamed the object.
Why is the cusColumn object not found?