Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » [Grid] setTopIndex without V_SCROLL
[Grid] setTopIndex without V_SCROLL [message #594523] Fri, 24 April 2009 12:40
Thomas  ichstädt-Engelen is currently offline Thomas ichstädt-EngelenFriend
Messages: 50
Registered: July 2009
Member

Hi,

i am using two Grid's which are located side by side and behave as one
Grid with fixed columns (inspired by
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet234.java?view=co).

No i'd like to make the VScrollBar of the left Grid invisible which
unfortunately causes the "parallel scrolling" to break. This happens due
to

if (!vScroll.getVisible())
{
return;
}

in method setTopIndex() of Grid.

Is there any chance to workaround that (using setSelection() of Grid makes
the selection change correctly but does not cause the tree to scroll)? I'd
like to achieve synchronised scrolling without having the left VScrollBar
visible.

Thanks in advance for any hints and tipps,

Thomas E.-E.
Previous Topic:CDateTime: Changing Icons
Next Topic:[Grid] An editing issue in macosx
Goto Forum:
  


Current Time: Thu Apr 25 19:43:04 GMT 2024

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

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

Back to the top