Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement