>In filer.scx I've found this in Resize method:
>oRef = .Controls[m.i]
>later, in the method code, I see that only the oRef gets changed, i.e.
>anything you do to an object reference, you do to the object it refers
>to. OK, but then how do I copy an object? I mean, how do I create a new
>object which is an exact copy of an existing object, such that its
>property changes do not affect the original object?
Well, that's an interesting question...
The only way I know is issuing CREATEOBJECT (of course this is not the answer you're looking for...)
But it would surely be nice to have a CLONE() function, isn't it?
Renato
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