Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Wrap Text in a label

Status
Not open for further replies.

ind

Programmer
Mar 9, 2000
121
0
0
US
Is there anyway to wrap the text in a form/report label box??????????
 
It wraps by default.<br>Sure are you making you label tall enough (Height)<br>I just tried it and it works fine.<br> <p>DougP<br><a href=mailto: dposton@universal1.com> dposton@universal1.com</a><br><a href= > </a><br> Ask me how Bar-codes can help you be more productive.
 
Is there a way to customize the wrapping of text in a label?

E.g:
304 S Maple Ave (--> i want next line to start on a new line in one single label)
Some City, CA 23455

thanks.
 
you can use vbCrLf to force a new line

Label0.Caption = &quot;This is a Test&quot; & vbCrLf & &quot;of the Carriage Return&quot; & vbCrLf & &quot;Line Feed Ability of the label&quot;

so if you have the data in different fields, you can pass a value and then the vbCrLf, and the other values

PaulF
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top