|
Re: Synchronized scrollbars [message #75343 is a reply to message #75009] |
Mon, 25 February 2008 10:17 |
Eclipse User |
|
|
|
Originally posted by: rherrmann.innoopract.com
Hi Emmanuel,
your second approach (listening to SelectionEvents) should work.
Feel free to file a bug report, ideally with a code attached that
demonstrates the misbehavior.
Cheers,
Rüdiger
Emmanuel wrote:
> Hi,
>
> What is the easiest way to synchronize the ScrollBar of two
> ScrolledComposite ? I tried to set the same ScrollBar to the two
> composites but there is no way to do that...
> I tried to listen one of them with a SelectionListener which sets the
> origin of the other at the same origin of the current... It works fine
> but only once... The following selectionChanges are only listened when
> my ViewPart looses the focus. Is there a good reason for that ?
> (composite.redraw() or .layout() does not have any effect)
>
> Thanks,
>
> Emmanuel
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.05034 seconds