Results 1 to 4 of 4

Thread: text box multiline property

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jun 2000
    Posts
    16

    Question

    ok i need to know how to display text in a text box on multiple lines by useing vb code and not the property dialog on the side?


  2. #2
    Frenzied Member
    Join Date
    Mar 2000
    Posts
    1,089
    Use
    Code:
    Text1.Multiline = True
    To make it multi line and
    Code:
    Text1.Multiline = False
    to make it single line

  3. #3
    Guest
    you cant do that, MultiLine is a read only property at runtime.

  4. #4
    Frenzied Member
    Join Date
    Mar 2000
    Posts
    1,089
    oh god, of course it is, you need 2 textboxes then, make one visible and the other invisible, then swap their visible properties around, make sure you put some code in the CHange events to keep the 2 textbox texts the same.

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