Results 1 to 6 of 6

Thread: [RESOLVED] What is the next line code like enter?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2007
    Posts
    20

    Resolved [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.

  2. #2
    Frenzied Member
    Join Date
    Aug 2006
    Location
    India, Punjab, Bhatinda
    Posts
    1,689

    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

  3. #3
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: What is the next line code like enter?

    Or the & sign if you wish to concantenate the string all onto one line.

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Nov 2007
    Posts
    20

    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 "

  5. #5
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: What is the next line code like enter?

    You should use & instead of + when adding strings together, but otherwise you've got it.

  6. #6

    Thread Starter
    Junior Member
    Join Date
    Nov 2007
    Posts
    20

    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
  •  



Click Here to Expand Forum to Full Width