HScrollbal and textbox

P

poldoj

Just wondering if there's a fast and easy way to scroll a long text in a
short textbox with a hscrollbar. I have see on msdn an example but was too
long and complicated. There's a easier solution?

(I hope I was clear enough, I have a textbox with a long text within, I want
put a hscroollbar below the textbox to allow user to see the typed text till
the end)

Thanks
 
H

Herfried K. Wagner [MVP]

poldoj said:
Just wondering if there's a fast and easy way to scroll a long text in a
short textbox with a hscrollbar. I have see on msdn an example but was too
long and complicated. There's a easier solution?

Set the textbox' 'Multiline' property to 'True', 'ScrollBars' to
'Horizontal' or 'Both', and 'WordWrap' to 'False'.
 
P

poldoj

Thank you so much, that worked indeed, using the hscrollbar component was
really painful
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top