Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » SWT - Strange selection behaviour using Table and TableCursor
SWT - Strange selection behaviour using Table and TableCursor [message #455852] Fri, 20 May 2005 12:23
mr. burns is currently offline mr. burnsFriend
Messages: 402
Registered: July 2009
Senior Member
Hello,

I used the common TableCursor example to be found at:
http://help.eclipse.org/help30/index.jsp?topic=/org.eclipse. platform.doc.isv/reference/api/org/eclipse/swt/custom/TableC ursor.html

The example works fine, but has a selection problem:

the codesnippet consists of three columns (A, B, C) and 100 rows (0-99)

- I click the mouse in cell A/10 then I press the shift key and additionally
I press the arrow down key to select 10 rows.
- Now I have selected row 10 to 19, which appear blue
- If I release the shift key, the selection switches to grey, so far no
problem
- Now I use the arrow down key to move to row 30
- Then I press the shift key to start a new selection beginning at row 30
- Then I press the down arror key, but the selection does not start from the
row 30, but from row 10, which was the beginning of the 1st selection I did.
- Only if one clicks into e.g. row 30 then the next selection starts from
row 30

Does anybody know how to solve this problem?

Thanks for any idea!
Previous Topic:TableCell with multiple lines - possible?
Next Topic:[PocketPC]SWT.dll problem
Goto Forum:
  


Current Time: Fri Apr 19 13:55:23 GMT 2024

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

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

Back to the top