AutoSize Default =True

G

Guest

In VB.Net 2003 and previous versions new labels were created with
AutoSize=False. In VB.Net 2005, new labels are created with AutoSize=True.
Why was it changed? Is there somewhere in VB.Net 2005 where this defalut can
be changed back to Autosize=False. I am not interested in creating my own
custom class to fix the problem.
 
B

Bruce W. Darby

Bob,

The option is in the properties for the control. Just select the control on
your form and set the Autosize property to False.

Bruce
 
R

rowe_newsgroups

Bob,

The option is in the properties for the control. Just select the control on
your form and set the Autosize property to False.

Bruce

I think he means he wants to set the default value of AutoSize to
False. That way, every label added will have Autosize turned off and
he won't have to go into properties to change it.

As far as the OP goes, I did see some code on this newsgroup a long
time ago that controlled what code was generated by the designer. It
had to do with passing a value to a constructor parameter when the
control is added, but thats about all I remember.

Thanks,

Seth Rowe
 

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