Re: SuperLabel Scrollbars

WinForms

ComponentOne's WinForms controls

SuperLabel Scrollbars

  • rated by 0 users
  • This post has 1 Reply |
  • 1 Follower
  • How can I get Scrollbars in SuperLabel? I didn't find any direct properties. Any workaround ideas?

    Thanks.

  •  Hi,

    I just ran into that same question myself.  I was able to get scrollbars by:

    1. put a panel on the form

    2. put the superlabel in the panel.

    3. Set the panel properties:  autoscroll = true; autoscrollmargin=20,20; autosize=true,autosizemode=GrowOnly, Dock=Fill.

    4. Set the superlabel properties:  autosize=true; dock=none;

    5. Set the form properties:  autoscroll=false; autosize=false;

     I'm not sure if all those properties are essential.  It really started working when I set the Dock property to "none" for the superlabel. I guess

    full docking conflicts with autosizing to the control-contents, so don't use dock=full.

     

    I hope that helps.  

    Robert van Waasbergen

Page 1 of 1 (2 items)