|
-
Dec 20th, 2007, 05:06 AM
#1
Thread Starter
Junior Member
[RESOLVED] What is the next line code like enter?
Hi, everyone , i have a question. What code should i type in order to give this kind of display below, when i send a message to phone.
I want this kind of display:
welcome
1) select
2) cancel
But not this kind of display:
welcome 1) select 2) cancel
Thanks for help.
-
Dec 20th, 2007, 05:27 AM
#2
Frenzied Member
Re: What is the next line code like enter?
from vb6? or Messenger client
if VB6 then simply use vbCrlf wherever you want to have line break
Last edited by VBFnewcomer; Dec 20th, 2007 at 05:28 AM.
Reason: added highlight
-
Dec 20th, 2007, 06:41 AM
#3
Re: What is the next line code like enter?
Or the & sign if you wish to concantenate the string all onto one line.
-
Dec 20th, 2007, 10:32 AM
#4
Thread Starter
Junior Member
Re: What is the next line code like enter?
I use VB6. Is it like that:
Text2.Text = "Welcome" + vbCrLf + " 1)Select " + vbCrLf + " 2)Cancel "
-
Dec 20th, 2007, 10:42 AM
#5
Re: What is the next line code like enter?
You should use & instead of + when adding strings together, but otherwise you've got it.
-
Dec 20th, 2007, 11:50 AM
#6
Thread Starter
Junior Member
Re: What is the next line code like enter?
OK , i get it thanks all of u.
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
|