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!

new line in an edit box 1

Status
Not open for further replies.

grindstonegirl

Technical User
Jun 12, 2003
29
US
Hi
I am adding several lines of text into an edit box from variables, and I want to be able to insert new lines as I go. Typing \n doesn't print out correctly in the edit text box. It displays as '|' Any idea how i can add new lines to the box a different way or make \n correctly display?
thanks in advance!
 
Try "\n\r" (or the reverse, can't remember for sure...)

I hope this helps,

Vincent
 
Hi,
i have done with "\r\n" and it works. i don't know
"\n\r" works or not. you must try it also.
tnx
 
Can't you set these properties for the field :

Multiline
Want Return

'Want Return' should cause 'Enter' to break the line.

/JOlesen



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top