Rabeea qabaha Rabeea qabaha - 1 year ago 140
Vb.net Question

Add Horizontal Scrollbar for Panel

How i Can Add Horizontal scrollbar for

, i tried to make AutoScroll property to True , but this just show the vertical Scrollbar.

what i want is when the client minimize the
a Horizontal Scrollbar appear so he can see all the controls in
, I'm using form without borders.

Maximize `Form :

Maximize `Form
Minimize 'form':

enter image description here

Answer Source

Try setting programmatically the panel box properties:

panel.Autoscroll = True panel.VerticalScroll.Visible = True panel.HorizontalScroll.Visible = True

Try adjusting your panel size then don't adjust the size of width of each data inside of it. I suppose it is because the data is EXACTLY fitted on your panel box.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download