|
-
Mar 20th, 2002, 02:00 PM
#1
Thread Starter
Frenzied Member
textbox manipulation
ok, here's the deal... part of my app takes user input and turns it into html code... it then takes that, piece by piece, and puts it into an another large textbox where the user can take that code and dump it into another editor...
question is, how do I get code that is put into the "code" box to show up with white space and have certain lines show up on the next line...
right now i'm just using:
VB Code:
frmMain.txtCode = strHead + strFinal + strX, etc, etc..
and this just puts the text back to back to back... how do I make certain pieces appear on the "next line" in the textbox?
OH, and I did try inserting "vbCR" at certain points, but all that does is put the little "return symbol" in and then continues with the next string... ???
-
Mar 20th, 2002, 02:16 PM
#2
Did you try vbNewLine?
A RichTextBox supports the vbCrLf function.
-
Mar 20th, 2002, 02:23 PM
#3
Thread Starter
Frenzied Member
ah HA! vbNewLine works perfectly... thanks Hack..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|