|
-
Jan 19th, 2000, 06:54 AM
#1
Thread Starter
New Member
This will sound pathetic to most of you, but since I'm just learning VB (4) I don't know much about the "extras" within VB.
My question is how to skip lines when entering text into a textbox using txtText1.text = "text here"... so, how do I put in text, then jump down a couple of lines.
Thanks.
-
Jan 19th, 2000, 07:00 AM
#2
Hyperactive Member
first I have VB6 so I don't know what the VB4 limits may be.
Set the text box multiline property to true.
Private Sub Form_Load()
textbox1.text= "Hello" & vbcrlf & "World"
End Sub
will put:
in the text box.
------------------
I am so skeptacle, I can hardly believe it!
-
Jan 19th, 2000, 07:02 AM
#3
-
Jan 19th, 2000, 07:03 AM
#4
Thread Starter
New Member
It works beautifully, thanks very much Badgers.
-
Jan 19th, 2000, 07:03 AM
#5
-
Jan 19th, 2000, 07:08 AM
#6
Thread Starter
New Member
Thanks for your reply Harry, just I got badgers' first and it is simpler and does exactly what I need it to do.
-
Jan 19th, 2000, 07:21 AM
#7
-
Jan 19th, 2000, 10:30 PM
#8
Another way would be to send the ascii code for a carriage return..
Chr(10)
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
|