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 John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Newline in a label caption 1

Status
Not open for further replies.

Mollethewizard

IS-IT--Management
Nov 18, 2002
93
SE
I've got a label used as an "info box" on a user form.

The text in the caption of the label varies depending of which textbox the user should be entering text in.

Is it possible to break the text in the caption on two or more lines?

Christer


 

Try this

Label1.Caption = "this is a " & vbCrLf & "test"

the label will have 'this is a' on one line and 'test' on the next line of the label.

 
Anonymous zarkon4 you deserve the Star I’ve given you!

Now my “info” labels are nice looking and easy readable!

Christer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top