"enter-keystroke" in string in textbox
How do I put in a "new row" command in a string that I want
to display in a textbox? In the example below the textbox displays
the | char instead of actually moving to the next row.
<vbcode>
mystring = "Row1" & vbkeyreturn & "Row2" ' this doesn't work...
</vbcode>
Re: "enter-keystroke" in string in textbox
Quote:
Originally posted by digisenze
How do I put in a "new row" command in a string that I want
to display in a textbox? In the example below the textbox displays
the | char instead of actually moving to the next row.
<vbcode>
mystring = "Row1" & vbkeyreturn & "Row2" ' this doesn't work...
</vbcode>
VB Code:
mystring = "row 1" & vbcrlf & "row2"