Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ReturnThis()
Message
De
01/06/2013 10:23:19
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01575398
Message ID:
01575399
Vues:
63
>I am using a strategy with Bindevent() to return an object reference go a business object.
>It works so great and is so helpful in many different situations, so I published this in the
>article below.
>
>http://cisberner.wordpress.com/2013/06/01/returnthis-visual-foxpro/


I don't understand how what you've done by using BindEvent() and ReturnThis() achieves anything different than the abilities exposed by calling a custom added method to do the same. Or to reference the object itself using its parentage call. Or to create a generic object interface called "theObject" through which you can directly reference the object that is given by ReturnThis().

What am I missing? What is ReturnThis() doing that other methods won't do?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform