Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamically Adding Controls
Message
De
19/04/2001 13:37:37
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00496893
Message ID:
00497433
Vues:
11
>Thanks Dan,
>
>Based on the error adding controls individually is the only way I can see it working. And I was hoping to avoid that and someone else had encountered and come up with a work around.
>
>In this case I could conceivably do it by enabing/disabling and making visible/invisible controls.
>
>Bob

But you could define the containers as you've described - with all of the controls needed - as their own classes, and then just add the containers dynamically. That way you only need to add two items instead of all of the individual controls.

Unless I'm missing something?
Dan LeClair
www.cyberwombat.com
SET RANT ON - The Wombat Blog

Life isn’t a morality contest and purity makes a poor shield. - J. Peter Mulhern
Disclaimer: The comments made here are only my OPINIONS on various aspects of VFP, SQL Server, VS.NET, systems development, or life in general, and my OPINIONS should not be construed to be the authoritative word on any subject. No warranties or degrees of veracity are expressed or implied. Void where prohibited. Side effects may included dizziness, spontaneous combustion, or unexplainable cravings for dark beer. Wash with like colors only, serve immediately for best flavor.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform