|
-
Jul 7th, 2000, 02:54 AM
#1
Thread Starter
Hyperactive Member
Text1.Text = "@Admin: " + Text2.Text + vbNewLine + Text1.Text
that makes a new line (vbNewLine) but it moves up, how do I make a new line, but make itmove down?
-
Jul 7th, 2000, 03:01 AM
#2
So Unbanned
Do it backwards!
Text1.Text = text1.text & vbnewline & "@Admin: " & Text2.Text
-
Jul 7th, 2000, 03:06 AM
#3
Thread Starter
Hyperactive Member
lol, I never would have thought of that...thanks!
-
Jul 7th, 2000, 11:37 PM
#4
Fanatic Member
How about using VbCrLf instead of vbNewLine
-
Jul 7th, 2000, 11:42 PM
#5
Or you could use:
Code:
Text1.Text = text1.text & Chr$(13) & Chr$(10) & "@Admin: " & Text2.Text
But I guess Qwerty's way is better .
By the way, I checked in the VB 4.0 help file and there are no words such as vbNewLine and VbCrLf. Are they only in VB 6.0?
-
Jul 7th, 2000, 11:45 PM
#6
Fanatic Member
I've been using them since vb5 so they are in it. NOt sure about earlier versions.
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
|