How do I make the scroll bars show up on a TScrollBox?

Mason Wheeler picture Mason Wheeler · Sep 12, 2009 · Viewed 14k times · Source

The TScrollBox control looks like it's supposed to basically be a TPanel with scroll bars attached along the bottom and the right edge. I tried placing one on a form, but no matter what I do, I can't make the scroll bars actually appear, either at design-time or at runtime. Does anyone know how to make them show up?

Answer

Nick Dandoulakis picture Nick Dandoulakis · Sep 12, 2009

Set AutoScroll property to True.
Now if you add controls that clip the box borders, the bars will appear.