Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Difficulties scrolling a ListViewer
Difficulties scrolling a ListViewer [message #481898] Mon, 24 August 2009 16:37
Chris is currently offline ChrisFriend
Messages: 3
Registered: July 2009
Junior Member
I have a ListViewer and I need to be able to highlight a line and move the
scroll bar to it. This works great unless the contents of the ListViewer
has just been changed. If the contents have changed I can still highlight
the correct line, but the scroll bar will not move. While debugging I got
the impression that the scroll bar was being reset to default values and
that among these the height was being reset. For this reason I think I
can solve my bug if I can get place a listener that will notify me once
the scroll bar has finished reinitializing itself based on my changes to
the ListViewer.

I'd really appreciate any information on how to be notified when the
Scroll Bar is ready or an explanation as to why my theory is wrong and how
to correctly solve my inability to scroll after changing the ListViewer's

Previous Topic:Flicker in custom rendered table item
Next Topic:Center vertical text on a clabel
Goto Forum:

Current Time: Mon Dec 16 04:51:33 GMT 2019

Powered by FUDForum. Page generated in 0.01786 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top