Results 1 to 4 of 4

Thread: multiple lines of text

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jun 2000
    Posts
    16
    ok how would i display tect on multiple lines useing vb code i already know tht you have to set the property to multiline=true but how would i display the text by useing code and not the property dialog on the side?

  2. #2
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    Text1.Text = "This is text from runtime"


    that's what you need?
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jun 2000
    Posts
    16

    multiple lines of text

    no i need it so if i press a command button text is displayed on more than one line in the text box

  4. #4
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649
    Sorry! Both the MultiLine and the Scrollbars properties are Read Only during run-time, so you can't change them. A simple solution would to be using two text boxes and showing/hiding them when the user click on the command button.

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