>>Hi all-
>>
>>I'm using addobject to add a grid (addoboject("Congrid","cusgrid"). It worked fine until I needed to add the grid to a container instead of a form. Now I get "Class Definition "cusgrid" not found". The classlibs are set properly to include the classlib where the grid is located. Any ideas?
>>
>>Carlie
>
>Can you verify that the only difference is the container by using nearly the same code and verifying the difference:
>
>THISFORM.AddObject("ConGrid","cusGrid")
>THISFORM.Container.AddObject("ConGrid","cusGrid")
>
>
>I have never seen the parent container affect the available classes...
The reason could be because controls Init methods fire prior Form Init method...
If it's not broken, fix it until it is.
My Blog