delphidelphi-2010tscrollbox

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


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?


Solution

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