TextBox - AutoVScroll

Started by Marco Jacinto · 2007-10-21 15:10 UTC · 2 replies · SMF topic #77

I try to use this property, from the intelligent help it stands:

"AutoVScroll
If True, the control will automatically detect if a vertical scroll bar is needed. Only in the editor will the scroll bar will be show always.
""


But if I set the VscrollBar to true, it will show always not only when it is needed.

is this a bug, or I'm doing something wrong???

Saludos
Marco Jacinto
author=Marco Jacinto link=topic=77.msg336#msg336 date=1192979410 wrote:
But if I set the VscrollBar to true, it will show always not only when it is needed.


The intelligent help is wrong. Here is the description from MSDN:

ES_AUTOHSCROLL
Automatically scrolls text to the right by 10 characters when the user types a character at the end of the line. When the user presses the ENTER key, the control scrolls all text back to position zero.

ES_AUTOVSCROLL
Automatically scrolls text up one page when the user presses the ENTER key on the last line.

Thanks Owen, its a shame the control can do what the intelligent help says.

I figured out how to make the Vscroll to show up when needed.

Thx.

Saludos
Marco Jacinto