Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Jerk the container out from under the controls
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Divers
Thread ID:
01009788
Message ID:
01009820
Vues:
18
This message has been marked as a message which has helped to the initial question of the thread.
Bhavbhuti,

No, you can't remove the contained objects of a container subclass at design time.

You can RemoveObject() them at runtime, or set their .Visible = .f.

But that begs the issue that the class design might be non-optimal if you wholesale want to rip it's guts out at the point of use. Perhaps it could be redesigned to conditionally add objects as it instantiates, or pulled apart into other classes that can be aggregated together better.

>There is a form class on it is the instantiated container class.
>The container class maybe in another vcx has controls on it.
>
>Your suggestion still valid?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform