Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Meanwhile, back at Private Data Sessions...
Message
De
12/10/1999 10:33:14
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00274579
Message ID:
00275422
Vues:
31
Hi Jim

>>What do I need to do to get it to see the new class?
>>
>Harry,
>
>Did you SET CLASSLIB TO YourClassLib ADDITIVE before using the CreateObject() function?
>
no I didn't, but I did actually manage to figure that one out for myself but then I didn't know about:-

>Or, you can use the NewObject() function;
>
>oApp = NewObject("MyAppClass","C:\MyLibs\MyClasses.vcx")

which is a new wrinkle duly logged.

Am now having a problem, having got the class created and visible, in actually referring to its properties. What syntax should I be using for that? I've tried the form "myGlobal.Propertyname" but it thinks (reasonably enough) that I'm referring to a table and falls over with "alias MyGlobal not found".

Thanks

Harry
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform