Groups | Blog | Home
all groups > dotnet faqs > june 2007 >

dotnet faqs : How to customize the Label and set the property of AutoSize to False?


Ryou kaihou
6/14/2007 12:00:00 AM
Hello All,

As we known, in Visual Stdio 2003 or 2005, the property of Autosize is set
to True by defaut, how can I customize this and set property of Autosize to
False?

Any ideas?

Thanks
Eric Moreau
6/14/2007 6:10:49 AM
You have to inherit your own control from the base Label control and set the
Autosize property to False. Then in your project, you will need to use your
own new Label instead of the standard one.

--


HTH

Eric Moreau, MCSD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc. (http://www.emoreau.com)

[quoted text, click to view]

AddThis Social Bookmark Button