Question

I have a flowpanel that I'm dynamically adding usercontrols to. I want it to keep adding them and use a vertical scroll bar. It instead wraps them to the top and places a horizontal scroll bar. I'm sure I'm just missing something, but how do I get it to do vertical scrolling?

Was it helpful?

Solution

I figured out what I did. I had the flow direction set to TopDown, it needed to be set to LeftRight.

Sometimes I feel like a moron.

OTHER TIPS

You have to enable scroll write this: flowLayoutPanel1.AutoScroll = true;

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top