How to create multi line string?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Guest's Avatar

    #1

    How to create multi line string?

    I need to assign a multiline string to a textbox in design time,
    my problem is that strings cannot be on more than one line
    in the editor, even the _ at the end of a line doesn't work
    with string, so how can I do this?
    (I need it to store some readme instructions in my program,
    but I want them to be part of the exe and not in another
    txt file.

    tia.


  • Herfried K. Wagner [MVP]

    #2
    Re: How to create multi line string?

    <Lucio H> schrieb:[color=blue]
    >I need to assign a multiline string to a textbox in design time,
    > my problem is that strings cannot be on more than one line
    > in the editor, even the _ at the end of a line doesn't work
    > with string, so how can I do this?[/color]

    Edit the control's 'Lines' property.

    --
    M S Herfried K. Wagner
    M V P <URL:http://dotnet.mvps.org/>
    V B <URL:http://classicvb.org/petition/>

    Comment

    • Guest's Avatar

      #3
      Re: How to create multi line string?

      thank you, this is wonderful.


      Comment

      Working...