>Steve,
>
>Are you sure?
>
>Let's say I have code in a procedure file:
>
>FUNCTION DEFINECOLUMNCLASS()
>
>DEFINE CLASS myColumn AS column
>
>RETURN
>
>
>Now I add the class to my grid.
>
>SET PROCEDURE TO DEFINEFUNCTIONS ADDITIVE
>DO DEFINECOLUMNCLASS
>
>this.AddObject( "newcolumn","myColumn" )
>
>RETURN
>
>
>How does Fox know that there is a defined class called "myColumn"?
>
>Something is in memory that either contains the class definition or points to the function that created the class definition that Fox recognizes as myColumn.
>
>How do I find out if that something exists?
>
>Regards,
I was doing something similar the other day and found that my problem was simply scope. I executed a method to define a class and the definition was lost when the method closed. Don't know if that helps but good luck.