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

How to add four text data fields in one text box in row

Status
Not open for further replies.

cmaknp

Programmer
Aug 28, 2002
25
IN
Hello pls help again

i want to add this text in text box

like

a="Its New One"
b="HowEver its good"
c="plss tell me add, how to use"

so how to add in text box row wise, like below, becoz i m adding so..its adding next space, but i want to add in next row of text box, pls guide me

Its New One
HowEver its good
plss tell me add, how to use


 
cmaknp

Please see my suggestion for your other post with a similar question.
Mike Gagnon
 
mgagnon is correct. Text boxes cannot have CR+LF in them. Pressing <Enter> will move you to the next control. They can be sized to wrap text on more than one line but the resulting string will still be one line. If the text box is say 3 lines high, and contains:

Its New One
HowEver its good
plss tell me add, how to use

The resulting string will be:
Its New OneHowEver its goodplss tell me add, how to use

You will need to use an Edit control.
Dave S.
 
you need the editbox control

a=&quot;Its New One&quot; + chr(13) + &quot;HowEver its good&quot; + chr(13);
&quot;plss tell me add, how to use&quot; Attitude is Everything
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top