Re: autosrollbar does not activate by Mehdi
Mehdi
Wed May 10 13:05:15 CDT 2006
On Wed, 10 May 2006 05:41:02 -0700, NaderTawil wrote:
> I have a windows form with a button on it. The button anchor property is
> right and the forms autoscroll property is set to true.
> When adding a second control (also anchor.right) to the left of the viewable
> area, the scrollbar does not activate. Why?
> When using anchor.left and adding controls to the right, the scrollbar
> activates automatically. I want to have the same functionality when adding to
> the left of the screen.
For some reason, autoscroll container controls only take into account
controls that are anchored left. The others are ignored and even if they
are outside the visible area of the container control, scrollbars won't
appear. I have never been able to find a solution to this problem. The only
thing that seems to be working properly is to implement your own
scrollbars.