Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing control's font size when height of form changes
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00922579
Message ID:
00922635
Vues:
16
Well I'll answer myself :) You have to create a new font object and assign it to the control's font property.

Einar
>It appears that the font size of my control is read only. Here is what I would like to do: When the height of the form changes I want the font size of my button to change accordingly.
>My button is anchored appropriately so that the size of the button changes when the form is resized, but how can I change the font size of the button when the form is resized.
>I have added my code to the SizeChanged event of the button.
>
>Any ideas or suggestions are welcome.
>Thanks,
>Einar
Semper ubi sub ubi.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform