>>>> 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
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