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
 
E

Eric Moreau

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)
 

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

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,017
Latest member
GreenAcreCBDGummiesReview

Latest Threads

Top