Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing control's font size when height of form changes
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00922579
Message ID:
00922657
Views:
17
Can you give more details, or post code? How did you scale it? For example, did you map ranges of form sizes to go with certain font sizes?

Thanks,

Equiring Mind in Texas


>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
Steve Gibson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform