Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Distributing projects with Visual class
Message
De
16/07/1997 05:25:06
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordanie
 
 
À
15/07/1997 19:13:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00039749
Message ID:
00040161
Vues:
44
>>>> Can I ask you one question, Today as I was experimenting with classes, I
>>>> found one more thing, if you create a object(through createobject) of
>>>your
>>>> class, and save it as a vcx(through saveasclass method)
>>>>
>>>> Then also, it doesn't show any code in the methods, Isn't it a easy way
>>>to
>>>> do this instead of replacing methods...
>>>>
>>>are you sure that this class is not created as a sub-class of the original?
>>>
>>>Arnon
>>
>>As I am very new to this thing, I will tell you what exactly I did
>>
>>Set library to myclass
>>myobject=createobject('myclass')
>>myobject.saveasclass....
>>
>>& it saved as a vcx file and when I opened the vcx and checked the methods, there was no code, I went in class browser and generated code and still no code from the original class...
>
>This is not good, because you just subclassed, so you still need the original class.
>
>Vlad

Actually, I am very confused with this whole thing, after your answer, I have 2 more questions:-

1. I just saved it as a class, so how it was subclassed ??
2. If from the prg (class code), I want to create a vcx file, will it have any codes in methods or not..
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform