Re: adjust font to label height?

Tech-Archive recommends: Speed Up your PC by fixing your registry



The only way I can think of
would be creating your own Label Class
and overriding the OnPaint Method
There you can get the Height of your Label
and based on it select a coresponding FontSize.


But I dont know if you can derive from "Label"
because for example deriving from Button is Pointless
because this is only a wrapper for an OS-Button

.


Quantcast