0

hello I'm NOT new to vb.net but i have never used a UserControl in the following manner:
In need to make a UserControll that can be put in a list of them depending on how many the user chooses and then if there are more than 4 to have a Vscrollbar to scroll through them.

this would help a lot

thanks in advanced!

P.S i have never EVER used a Vscrollbar

2
Contributors
2
Replies
4
Views
5 Years
Discussion Span
Last Post by AndyPants
0

I would never EVER use a Vscrollbar.

The a vertical scrollbar can easily be accomplished with a panel.

Add the controls to a FlowLayoutPanel and set the FlowlayoutPanel's FlowDirection to TopDown and set its Wrap mode to false and and set its AutoScroll to true.

or

Add the controls to a panel and set the controls.Dock = Top and set the panel's autoscroll = true.


When using the flowlayout panel you will need to make sure the controls are <= to the flowlayoutpanel's client width or you will get a horizontal scrollbar as well.

0

I would never EVER use a Vscrollbar.

The a vertical scrollbar can easily be accomplished with a panel.

Add the controls to a FlowLayoutPanel and set the FlowlayoutPanel's FlowDirection to TopDown and set its Wrap mode to false and and set its AutoScroll to true.

or

Add the controls to a panel and set the controls.Dock = Top and set the panel's autoscroll = true.


When using the flowlayout panel you will need to make sure the controls are <= to the flowlayoutpanel's client width or you will get a horizontal scrollbar as well.

umm... I don't get it BUT I'm I'm shure if I resurch what you said il figure it out. thanks!

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.