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

edit box- line feed / carriage return

Status
Not open for further replies.

goju

Programmer
Sep 25, 2001
6
US
I can easily display several lines of text using \n in the
message box, but the edit box doesn't seem to recognize
the \n escape sequence. I would like to see a sample
program where several rows of text are displayed in the
edit box using the \n escape sequence.
 
First in the resource editor - in the properties for the edit box -> styles, check the checkbox "Multiline".
Then , if the '\n' doesn't work try with '\r\n'.

HTH,
s-)

Blessed is he who in the name of justice and goodwill, sheperds the weak through the valley of darkness...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top