Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class definition not found
Message
 
 
À
10/01/2000 13:34:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00315613
Message ID:
00315649
Vues:
24
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform