Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Set scroll behavior for Scroller
Set scroll behavior for Scroller [message #755317] Tue, 08 November 2011 06:01 Go to next message
Amandeep Chahal is currently offline Amandeep ChahalFriend
Messages: 85
Registered: September 2011
Location: India
Member
Hi,
I have a Table with horizontal and vertical scrollbars. This has been done by setting the style 'SWT.H_SCROLL' and 'SWT.V_SCROLL' for the table. When I scroll the table using the buttons (or the thumb), I want to scroll one column at a time. My column sizes are varying.
I tried handling this in the selection listener for the scrollbar by using scrollbar.setSelection(int desiredIndex). However this does not seem to work. Is there a way to achieve this? Thanks.
Re: Set scroll behavior for Scroller [message #755319 is a reply to message #755317] Tue, 08 November 2011 06:13 Go to previous message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi,
to my knowledge this is currently not possible in RAP. I'm not sure if
this is possible in SWT too. If you find a way to do it in SWT, that
does not work in RAP, please file a bugzilla.
Best,
Ivan

On 11/8/2011 8:01 AM, amandeep.chahal wrote:
> Hi,
> I have a Table with horizontal and vertical scrollbars. This has been
> done by setting the style 'SWT.H_SCROLL' and 'SWT.V_SCROLL' for the
> table. When I scroll the table using the buttons (or the thumb), I
> want to scroll one column at a time. My column sizes are varying.
> I tried handling this in the selection listener for the scrollbar by
> using scrollbar.setSelection(int desiredIndex). However this does not
> seem to work. Is there a way to achieve this? Thanks.
Previous Topic:Set scroll behavior for Scroller
Next Topic:Strange behavior with Chrome
Goto Forum:
  


Current Time: Fri Apr 26 12:11:53 GMT 2024

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

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

Back to the top