Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » goto next column in table typing tab
goto next column in table typing tab [message #442913] Wed, 15 September 2004 09:18 Go to next message
Michael Seele is currently offline Michael SeeleFriend
Messages: 124
Registered: July 2009
Senior Member
hi,
is it possible to catch the key-events from a widged and use the tab
key-event when a cell is selected for select the next cell, and not for
next focus selection?
thank you!
Re: goto next column in table typing tab [message #442926 is a reply to message #442913] Wed, 15 September 2004 14:42 Go to previous messageGo to next message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
See:

Traverse Event:
http://dev.eclipse.org/viewcvs/index.cgi/http://dev.eclipse. org/viewcvs/index.cgi/org.eclipse.swt.snippets/src/org/eclip se/swt/snippets/Snippet127.java?rev=HEAD&content-type=te xt/vnd.viewcvs-markup

Using TableCursor:
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet96.java?rev=HEAD&a mp;content-type=text/vnd.viewcvs-markup

"Michael Seele" <mseele@guh-software.de> wrote in message
news:ci91dn$sr6$1@eclipse.org...
> hi,
> is it possible to catch the key-events from a widged and use the tab
> key-event when a cell is selected for select the next cell, and not for
> next focus selection?
> thank you!
>
Re: goto next column in table typing tab [message #443014 is a reply to message #442926] Thu, 16 September 2004 09:55 Go to previous messageGo to next message
Daniel Krügler is currently offline Daniel KrüglerFriend
Messages: 853
Registered: July 2009
Senior Member
Hello Veronika Irvine,

Veronika Irvine schrieb:
> See:
>
> Traverse Event:
> http://dev.eclipse.org/viewcvs/index.cgi/http://dev.eclipse. org/viewcvs/index.cgi/org.eclipse.swt.snippets/src/org/eclip se/swt/snippets/Snippet127.java?rev=HEAD&content-type=te xt/vnd.viewcvs-markup

Can you please repeat this link in a shortened way? The presented one
does not work, probably due to reader truncation.

Thanks,

Daniel Krügler
Re: goto next column in table typing tab [message #443025 is a reply to message #443014] Thu, 16 September 2004 15:45 Go to previous messageGo to next message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
Go to the SWT snippets section:
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-swt-home/dev.html#snippets

Scroll down to the section called "Control".

Select the snippet called "prevent Tab from traversing out of a control".

"Daniel Kr
Re: goto next column in table typing tab [message #443131 is a reply to message #443025] Mon, 20 September 2004 07:02 Go to previous messageGo to next message
Michael Seele is currently offline Michael SeeleFriend
Messages: 124
Registered: July 2009
Senior Member
thank you for your fast help!
is it also possible to set editor to next cell when user clicks in
TextCellEditor on tab, and set editor to upper cell when user clicks in
TextCellEditor on upper key, and set editor to lower cell when user clicks
in TextCellEditor on lower key???
THANK YOU!
Re: goto next column in table typing tab [message #443185 is a reply to message #443131] Tue, 21 September 2004 14:59 Go to previous messageGo to next message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
Yes. That is what is demonstrated in the TableCursor snippet:

Go to the SWT snippets section:
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-swt-home/dev.html#snippets

Scroll down to the section called "TableCursor".

Select the snippet called "navigate a table cells with arrow keys ".

"Michael Seele" <mseele@guh-software.de> wrote in message
news:cilv9u$cc9$1@eclipse.org...
> thank you for your fast help!
> is it also possible to set editor to next cell when user clicks in
> TextCellEditor on tab, and set editor to upper cell when user clicks in
> TextCellEditor on upper key, and set editor to lower cell when user clicks
> in TextCellEditor on lower key???
> THANK YOU!
>
Re: goto next column in table typing tab [message #443385 is a reply to message #443185] Fri, 24 September 2004 07:28 Go to previous messageGo to next message
Michael Seele is currently offline Michael SeeleFriend
Messages: 124
Registered: July 2009
Senior Member
Veronika Irvine wrote:

> Yes. That is what is demonstrated in the TableCursor snippet:

> Go to the SWT snippets section:
>
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-swt-home/dev.html#snippets

> Scroll down to the section called "TableCursor".

> Select the snippet called "navigate a table cells with arrow keys ".

> "Michael Seele" <mseele@guh-software.de> wrote in message
> news:cilv9u$cc9$1@eclipse.org...
> > thank you for your fast help!
> > is it also possible to set editor to next cell when user clicks in
> > TextCellEditor on tab, and set editor to upper cell when user clicks in
> > TextCellEditor on upper key, and set editor to lower cell when user clicks
> > in TextCellEditor on lower key???
> > THANK YOU!
> >

and does it always work when i use a tableViewer?
Re: goto next column in table typing tab [message #443395 is a reply to message #443385] Fri, 24 September 2004 12:20 Go to previous message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
"Michael Seele" <mseele@guh-software.de> wrote in message
news:cj0ia3$bsr$1@eclipse.org...
> and does it always work when i use a tableViewer?

Yes, it should.
Previous Topic:SWT und Thread
Next Topic:tooltips for tableViewer
Goto Forum:
  


Current Time: Fri Apr 19 13:10:45 GMT 2024

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

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

Back to the top