Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Why after scroll down getSelection value is 0 ?
Why after scroll down getSelection value is 0 ? [message #460571] Wed, 31 August 2005 18:14 Go to next message
sami is currently offline samiFriend
Messages: 5
Registered: July 2009
Junior Member
Hi all,

I have a pure swt tree.
Could someone tell me how can I do to ensure that after a first scroll
down, the getSelection on the swt tree scrollbar give the value 1 and not
the default value 0 ?
Many thanks for your hints.
Re: Why after scroll down getSelection value is 0 ? [message #460761 is a reply to message #460571] Wed, 07 September 2005 00:52 Go to previous message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
You are reaching inside to get the operating system scroll bars in a tree.
The values they return are platform specific.

"sami" <xpmansami@msn.com> wrote in message
news:ae3d22a44d758cfcf02d1f1aa0d1d9d4$1@www.eclipse.org...
> Hi all,
>
> I have a pure swt tree.
> Could someone tell me how can I do to ensure that after a first scroll
> down, the getSelection on the swt tree scrollbar give the value 1 and not
> the default value 0 ?
> Many thanks for your hints.
>
Previous Topic:Issues with Tree.getItem(Point) and Table.getItem(Point)
Next Topic:fun with fonts
Goto Forum:
  


Current Time: Fri Mar 29 04:49:21 GMT 2024

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

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

Back to the top