C1 Community
ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

SuperLabel Scrollbars

rated by 0 users
This post has 1 Reply | 1 Follower

Top 500 Contributor
Posts 21
ComOne Posted: Tue, Mar 17 2009 3:46 PM

How can I get Scrollbars in SuperLabel? I didn't find any direct properties. Any workaround ideas?

Thanks.

Not Ranked
Posts 3

 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) | RSS
Contact ComponentOne: 1.800.858.2739 ©1987-2010 ComponentOne LLC All Rights Reserved.