CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: textbox

  1. #1
    Join Date
    Feb 2000
    Location
    Canada, Quebec
    Posts
    8

    textbox

    What i got is a simple question.
    With a combo click control iam
    showing a message in a text box below. But the message is a long one and i dont want it to show on one line only.
    exemple:
    rather than that :
    "..............................................."
    i would love to do :
    "....."
    "....."
    "....."
    How can i continue a message on a other line ?
    Thanks in advance !


  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: textbox

    msgbox "this is line one" & vbCRLF & "this is line two"


  3. #3
    Join Date
    Jan 2000
    Location
    Olen, Belgium
    Posts
    2,477

    Re: textbox

    or.. just set the multiline property of the textbox to true, this will break up a line when it's to long and place the rest of the message on the next line. Using this, you can also set the scrollbars property if you want.

    Tom Cannaerts
    [email protected]

    The best way to escape a problem, is to solve it.
    Tom Cannaerts
    email: [email protected]
    www.tom.be (dutch site)

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

Featured