if you have a multi line text box how to you get it to write to the next line in that text box in code?
------------------
Mooose
Printable View
if you have a multi line text box how to you get it to write to the next line in that text box in code?
------------------
Mooose
Try this:
Text1.Text = "Line 1" & VbCrLf & "Line 2"
HTH
------------------
Visual Basic Programmer
------------------
PolComSoft
You will hear a lot about it.
[This message has been edited by QWERTY (edited 02-07-2000).]
Or maybe
Text1.Text = "Line 1" & Chr(13) & "Line 2"
------------------
Wilhelm Tunemyr,
Sweden
[email protected]
"Dort, wo man Bücher verbrennt, verbrennt man am Ende auch Menschen"
Heinrich Heine (1797-1856)
Pravda zvítezi!
or even:
i think...Code:txt1.text = "Line 1" & chr$(10) & "Line 2"
------------------
david
Teenage Programmer