|
-
August 23rd, 1999, 08:08 PM
#1
Panel with Scrollbar
Hi,
I've 2 panels in my frame.I want to attach scrollbars to one of my panels.Is it possible?.
Thanks in advance.
-
August 24th, 1999, 12:09 AM
#2
Re: Panel with Scrollbar
Yep! I had done that. I wonder if u like to do the same.
What I had done is...
1. Put both panels in scrollpanes
2. Make verticle (I wanted to syncronize the panel scrolling vertically) scrollbar of one scrollpane invisible
3. I created a listener for scrollbar which will accept instance of another scrollbar and when event comes sets the value of other scrollbar correspondingly
4. Then I attached this listener to the visible verticle scrollbar of the scrollpane and gave it instance of invisible verticle scrollbar of other scrollpane.
And it worked!
- UnicMan
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|