OpenDCL Forums

OpenDCL => Studio/Dialog Editor => Topic started by: Marco Jacinto on October 21, 2007, 08:10:10 AM

Title: TextBox - AutoVScroll
Post by: Marco Jacinto on October 21, 2007, 08:10:10 AM
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
Title: Re: TextBox - AutoVScroll
Post by: owenwengerd on October 21, 2007, 09:12:27 AM
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.

Title: Re: TextBox - AutoVScroll
Post by: Marco Jacinto on October 22, 2007, 02:48:19 PM
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