Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Defining Methods in Classes for Objects Added at Runtime
Message
De
22/02/2006 03:58:36
 
 
À
20/02/2006 12:23:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01096949
Message ID:
01098023
Vues:
17
Hi Fabio,

>> Any good reasons to use the 'ADD OBJECT' approach?
>
>1. If you use Class Designer or Form Designer,
>they support ADD OBJECT ( mappend on VCX/SCX record ) only.
>
>2. Performance

Again - fair enough on both counts. But from the VCX POV I don't see the relevance unless you're hacking the table. And where performance isn't an issue (probably most of the time) I'd prefer the readability of a seperately defined class.

Regards,
Viv
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform