Versions des environnements
You may, one day, get into trouble if VFP ever has a native event of the same name. We had a .refresh() method in our label classes before VFP introduced it as a native event. When it did come in we had dreadful problems with our classes and had to do quite a bit of work to fix it.
Since then we try to use names for methods and events that they (MSFT) are unlikely to use themselves.
Since VFP 9 is probably the last, you should be safe though :-)
We added a
>I have an object based on Custom class. I have added a .Release method, which contains Release This (after checking for dangling references and so on). So basically the method releases the object it belongs.
>
>As far as I can tell, it works good, but however, I'd rather ask: I am asking for trouble with this approach?
>
>Thank you.
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