Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Control Object vs. Container Object
Message
De
20/04/2018 12:34:08
 
 
À
20/04/2018 10:03:34
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
01659539
Message ID:
01659564
Vues:
78
J'aime (2)
>>Hi all!
>>
>>What are the basic advantages to use the Control Object in using the Container Object?
>>
>>Is it faster?
>>Or is it only the encapsulation?
>
>With a control, you don't have access to its members. I think it doesn't have any plusses over a container.
>
>In my 20+ years with VFP, I remember I only once attempted to use a Control and then reverted that one too to a Container.

Agreed. Intellectually, I know that Control is a good idea, but in practice, Container is much easier. Similarly, though I know that hidden and protected properties are a good idea intellectually, I rarely use them.

Tamar
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform