View Single Post
 
Old 09-23-2014, 02:22 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

If you want to allow multi-line input and have the width expand to accommodate the number of characters on a line, you need to set:
• AutoSize = True
• Multiline = True
• WordWrap = False
and either set:
• EnterKeyBehaviour = True
or rely on Shift-Enter to insert new lines.

One problem you may experience is the textbox scrolling the top line out of view. Scrolling back to the top should fix that.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote