Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Resizing Control Added At Runtime
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01390138
Message ID:
01390161
Vues:
64
>I am adding a usercontrol to a form at runtime. If the control is on the form, and the form is resized, how do I resize the control? I'm not sure how to check to see of the control is on the form and how to get a reference to it.
>
>Thanks

If you add a control to a form at run time you have to be sure to add it to the form's Controls collection. Once it's there, you should be able to resize it along with the other controls by iterating through the collection.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform