TextBox.VScrollbar with TextBox.Height=20?

G

Guest

Hello NG!

I've set TextBox.ScrollBars to ScrollBars.Vertical but it seems like it is
only shown, if the height of the TextBox is 30 or greater. Is there a
possibility to force the ScrollBar to be shown if the Height is only 20, the
default-height for 'one-line-text'?

Thanks, D.Barisch
 
A

Alex Feinman [MVP]

The scrollbar wil not be shown unless the amount of text in the control
actually requires scrolling
 
G

Guest

| The scrollbar wil not be shown unless the amount of text in the control
| actually requires scrolling

But the amount of text in my TextBox is more than it can display!!!

In the given scenario I can 'scroll' the text by moving the stylus to the
right border of the TextBox ('selecting') or using the cursor buttons
(hw/sw). In both cases then the TextBox shows the 'next line' of the text.

But you can't explain that behavior to a normal user!

So in my opinion the arrows are shown, if there is enough space. But it
doesn't matter if the text requires it. If they are not necessary, they are
disabled, but displayed (if the TextBox.Height is greater than 30)!

Any simple workarounds?

Thanks, D.Barisch
 

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