Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » How do I scroll to an ExpandItem in an ExpandBar?(Can't find a suitable method!)
icon5.gif  How do I scroll to an ExpandItem in an ExpandBar? [message #669897] Thu, 12 May 2011 01:27
SBS  is currently offline SBS Friend
Messages: 57
Registered: January 2011
If I have more expand items than fills the client area of an expand bar, how can I scroll to a particular item and place it at the top of the client area? There doesn't appear to be an appropriate scrollTo() or makeVisible() method on either ExpandBar or ExpandItem so I am not sure what method I should be using.

I tried getting the expand bar's vertical scroll bar and setting its selection which works except that the bar's contents are not scrolled even though the scroll bar thumb moves to the correct position.

Is this a bug? What is the correct way of doing this?


Previous Topic:How do I scroll to an ExpandItem in an ExpandBar?
Next Topic:JFace TreeViewer
Goto Forum:

Current Time: Mon Jun 18 12:09:02 GMT 2018

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

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

Back to the top