TextBox - AutoVScroll

Started by Marco Jacinto, October 21, 2007, 08:10:10 AM

Previous topic - Next topic

Marco Jacinto

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

owenwengerd

Quote from: Marco Jacinto on October 21, 2007, 08:10:10 AM
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.

Owen Wengerd (Outside The Box) / ManuSoft

Marco Jacinto

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