Horizontal scrollbar on tabPage

Otiel picture Otiel · Sep 8, 2011 · Viewed 8.8k times · Source

Working in Design mode on Visual Studio 2010...

I am trying to get an horizontal scrollbar on a tabPage. From what I understood by reading here and there, setting the AutoScroll property of the tabPage to True should be enough to get scrollbars.

When I place a element on my tabPage that exceeds the bottom limit of the tabPage, I get an vertical scrollbar. But when I make an element exceed the right limit of the tabPage, no horizontal scrollbar appears.

What am I doing wrong?

Answer

Otiel picture Otiel · Sep 8, 2011

Found the problem: the control I was placing on my tabPage had the Anchor property set to Top, Left, Right. It cannot work if there is Right.