TextBox.VScrollbar with TextBox.Height=20?

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
The scrollbar wil not be shown unless the amount of text in the control
actually requires scrolling
 
| 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
 
Back
Top