I have a regular old tab control sitting on a form. I have a user control dropped inside of the tab pages and it is definitely larger than the viewable area of the tab page. For some reason, though, the tab page will not show scrollbars even with AutoScroll set to true. Does anyone know a way around this? I'm pretty sure I'm thinking about that correctly. The tab page should scroll, right?
A:
Add a panel to the inside of the tab control, docked to fill, and set it to scroll.
Jon B
2009-09-03 15:20:50
Well, I was thinking that would fix it. I'm still not getting scrollbars though. I'm assuming the problem is related to the tab control not picking up on the fact that the user control is so big. Is that right?
Anthony
2009-09-03 15:26:54
It's the paenl that should be adding the scroll bars. Does it work if you use a panel outside of the tab control?
Jon B
2009-09-03 15:46:04
A:
Solution: Well, I didn't have autoscroll set to true on the user control. I was assuming that the tab page would catch that the control it contained was too big but, I guess that's not the case.
Anthony
2010-09-15 15:19:48