Windows Forms, change font of the controls at runtime?

  • Thread starter Thread starter Iwan Petrow
  • Start date Start date
I

Iwan Petrow

Hi,

I have a window form with controls (labels, buttons...). I want the
user to have possibility to change the font (name and size) of the
controls. But when the font is changed the size of the controls changed
and some of the controls overlap each other.

How could I fix this problem?

Thanks.
 
Hi,

Of course you have to recalculate the size needed for the controls.


cheers,
 
Hi,

As a side note you could also need to relocate them, btw it's not an easy
task !


cheers,
 
Back
Top