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

R

Ryou kaihou

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
 
J

Jeff Hopper

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top