Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » TraverseListener in IE
TraverseListener in IE [message #140466] Thu, 16 July 2009 12:58 Go to next message
Moritz Hanke is currently offline Moritz HankeFriend
Messages: 2
Registered: July 2009
Junior Member
Hi,

I have a question about TraverseListener. I have three textsfields and I
want to jump from textfield one to textfield three. Here is a little code
snippet which shows how I want to realize it.

t = new Text(top, SWT.NONE);
t.addTraverseListener(new TraverseListener() {

public void keyTraversed(TraverseEvent e) {
if (e.detail == SWT.TRAVERSE_TAB_NEXT) {
t3.setFocus();
}
}
});
new Text(top, SWT.NONE);
t3 = new Text(top, SWT.NONE);

This is working in Firefox 3.5 but not in IE 8.
Is it a bug or a mistake of my code?

Regards

Moritz
Re: TraverseListener in IE [message #140521 is a reply to message #140466] Thu, 16 July 2009 13:55 Go to previous message
Benjamin Muskalla is currently offline Benjamin MuskallaFriend
Messages: 338
Registered: July 2009
Senior Member
Hi Moritz,

as long as it's working in one browser but not in the other, it sounds
like a bug to me. Would you be so kind to open a new bug report? Thanks!

See http://wiki.eclipse.org/RAP_Bug_Reporting_Howto

Greets
Ben

Moritz Hanke wrote:
> Hi,
>
> I have a question about TraverseListener. I have three textsfields and I
> want to jump from textfield one to textfield three. Here is a little
> code snippet which shows how I want to realize it.
>
> t = new Text(top, SWT.NONE);
> t.addTraverseListener(new TraverseListener() {
>
> public void keyTraversed(TraverseEvent e) {
> if (e.detail == SWT.TRAVERSE_TAB_NEXT) {
> t3.setFocus();
> }
> }
> });
> new Text(top, SWT.NONE);
> t3 = new Text(top, SWT.NONE);
>
> This is working in Firefox 3.5 but not in IE 8.
> Is it a bug or a mistake of my code?
>
> Regards
>
> Moritz
>


--
Benjamin Muskalla | EclipseSource Karlsruhe
http://www.eclipsesource.com | http://twitter.com/eclipsesource
Previous Topic:How to use declarative services?
Next Topic:Standalone Views Spacing
Goto Forum:
  


Current Time: Fri Apr 19 23:52:36 GMT 2024

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

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

Back to the top