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

dotnet framework : 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
Jeff Hopper
6/14/2007 9:02:30 AM
You can set the property in the form designer. Or in some appropriate event
like Form_Load:

label1.AutoSize = false; //C#

Label1.AutoSize = False 'VB

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