all groups > vb.net controls > june 2007 >
You're in the

vb.net controls

group:

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


How to customize the Label and set the property of AutoSize to False? Ryou kaihou
6/14/2007 12:00:00 AM
vb.net controls:
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



Re: How to customize the Label and set the property of AutoSize to False? Eric Moreau
6/14/2007 12:00:00 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]

Re: How to customize the Label and set the property of AutoSize to False? Ryou kaihou
6/15/2007 12:00:00 AM
It worked and thank you very much!!

[quoted text, click to view]
AddThis Social Bookmark Button