Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class definition not found
Message
 
 
To
10/01/2000 13:34:18
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00315613
Message ID:
00315649
Views:
26
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform