Scrollbar for a panel

  • Thread starter Thread starter Seth Williams
  • Start date Start date
S

Seth Williams

I'm adding labels (clickable) to a panel dynamically - - sometimes, there
will be more than will show on the existing panel.

Is there a way to, if there is more conent (more labels), to add a scrollbar
to a panel?
 
I'm adding labels (clickable) to a panel dynamically - - sometimes, there
will be more than will show on the existing panel.

Is there a way to, if there is more conent (more labels), to add a scrollbar
to a panel?

Did you look at the panel's properties and methods?

Set Panel.HScroll and/or Panel.VScroll to True, or look at the
GetScrollState and SetScrollState methods.
 
Seth Williams said:
I'm adding labels (clickable) to a panel dynamically - - sometimes, there
will be more than will show on the existing panel.

Is there a way to, if there is more conent (more labels), to add a
scrollbar to a panel?

Set the panel control's 'AutoScroll' property to 'True'.
 
Back
Top