Groups | Blog | Home
all groups > vb.net controls > may 2004 >

vb.net controls : HScrollBar Problems


Eric Dreksler
5/31/2004 7:19:11 PM
Hi,

I have two or three controls where I set the AutoScroll = True, and the
vertical scroll bar works fine, however the horizontal scroll bar never
appears, no matter how far to the right the control should scroll.

Is this a bug, or am I not doing something wrong?

Thanks In Advance,
Eric Dreksler

Ken Tucker [MVP]
6/1/2004 5:02:40 AM
Hi,

Here this will make both scrollbars show on a panel.

Panel1.AutoScroll = True
Panel1.Controls.Add(Label1)
Label1.Location = New Point(Panel1.Width + 25, Panel1.Height + 25)

Ken
-------------------------
[quoted text, click to view]

AddThis Social Bookmark Button