Results 1 to 3 of 3
  1. #1
    Silver Lounger
    Join Date
    Dec 2000
    Location
    California, USA
    Posts
    1,758
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Userform's Textbox and WordWrap (XP)

    I am having a challenge with "Wordwrap" in a Textbox of a Userform. I have set it to true in the properties of the Textbox yet the text fails to wrap.

    The line of text is longer than the width of the Textbox and the height is set for more than enough to see the text wrapping around.

    Any ideas?

    Thanks,
    John

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Userform's Textbox and WordWrap (XP)

    Make sure that you set the MultiLine property of the text box to True.
    You may want to set the ScrollBars property to 2 - fmScrollBarsVertical. This will make a vertical scrollbar appear if the text is too long for the text box.

    By the way, congratulations on becoming a SilverLounger (1600 posts)! <img src=/S/fanfare.gif border=0 alt=fanfare width=31 height=23>

  3. #3
    Silver Lounger
    Join Date
    Dec 2000
    Location
    California, USA
    Posts
    1,758
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Userform's Textbox and WordWrap (XP)

    Hans,

    Thanks for your suggestion; it worked.

    Wow 1600 posts already. Thanks for noticing. I remember the original format of the lounge from way back when; just a stroll down memory lane.

    <img src=/S/yep.gif border=0 alt=yep width=15 height=15>
    Regards,
    John

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •