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

Text Box linefeed

Status
Not open for further replies.

WoundEdGoat

Programmer
May 10, 2002
39
CA
I feel like an idiot asking question that probably has a painfully simple answer but oh well...

Anyways, how can I get a text box to append more text to a new line? I've tried adding chr(13) and chr(10) directly to the text, but it just prints out the "|" character.

EG - I started with this:

Hello.

And I want to be able to say:

Hello.
How are you?

Without typing it in manually.
 
Try setting multiline property to 'True'. This makes vbCRLF actually do new line, rather than just showing vertical bar character.

HTH

Let me know how you get on
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top