This is the content of my button
TextDisplay.Text = "welcome"
TextDisplay.Text = "blah blah blah"

however doing it this way it will only read into the text box the second line
1. How can I word wrap a sentece
And print more than one line within my text box
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

TextDisplay.Text = "welcome"
TextDisplay.Text = TextDisplay.Text & vbcrlf & "blah blah blah"

Be sure that .Multiline is true


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Wrapping happens automatically.

michaeldiAuthor Commented:
sorry yes you are right it does word wrap if you put it all in one line however on this for example

Private Sub Form_Load()
TextDisplay.Text = "                             WELCOME"
TextDisplay.Text = "    sffms;vmsffsdfsdfsdfsdfs;vm;sfdmv;sfmv;dfm;vmdf;mdf"
End Sub

it will only display the second line not the first.
yes mutiline is set to TRUE
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

michaeldiAuthor Commented:
sorry i did not see you last coment yes thank is there a way to centre
the first line
and that should be me done
Did you see the change I made to your code in my first comment?

No. There is no easy way to center text on a regular text box.

If you want to do fancy, use a RichTextBox and you can easily center, change fonts/colors, etc.

Go to my web page and grab a copy of What2Do. It is a simple calendaring app that includes SOURCE CODE that shows how to make a little editor using a RichTextBox.

Visit: www.cyberchute.com/rvbus/madmark

michaeldiAuthor Commented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.