|
-
Dec 13th, 2005, 12:52 PM
#1
Thread Starter
Addicted Member
[RESOLVED] New line in textbox
How would I move onto the next line in a textbox by pressing a button on a form? I am using a multiline textbox with a v.scroll bar
-
Dec 13th, 2005, 12:53 PM
#2
Re: New line in textbox
Using either vbCrLf or vbNewLine.
-
Dec 13th, 2005, 12:56 PM
#3
Thread Starter
Addicted Member
Re: New line in textbox
How would i implement that into my program?
-
Dec 13th, 2005, 12:59 PM
#4
Re: New line in textbox
- set MultiLine = True for your textbox but do it in design
- use the following logic:
Text1.Text = Text1.Text & vbNewLine & "Some New Text Goes Here"
every time you need to add new line to existing text.
-
Dec 13th, 2005, 01:03 PM
#5
Thread Starter
Addicted Member
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
|