Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » bug in CCombo?
bug in CCombo? [message #451740] Mon, 07 March 2005 22:31 Go to next message
Bhadri Madapusi is currently offline Bhadri MadapusiFriend
Messages: 18
Registered: July 2009
Junior Member
In my editor I have a text field and 2 CCombo fields. I have set my tab
order to be Text, CCombo 1 and CCombo 2. I added following listener for all
the widgets.

widget.addKeyListener(new KeyAdapter(){
public void keyReleased(KeyEvent event) {
System.out.println(event.widget.getData());
}
}
);

When I tab from text to CCombo1, focus is not set on CCombo1. I am sure
control is in CCombo1 becuase when I press some key
System.out.println(event.widget.getData()) print out data set in CCombo1.
When I press tab the subsequently neither focus nor control is moved to
CCombo2. System.out.println(event.widget.getData()) print out data set in
CCombo1.

Is this a known bug? Has anyone encountered this issue?

Thanks in advance.
Re: bug in CCombo? [message #451743 is a reply to message #451740] Tue, 08 March 2005 03:44 Go to previous message
Bhadri Madapusi is currently offline Bhadri MadapusiFriend
Messages: 18
Registered: July 2009
Junior Member
This seems to be a know bug!

"Bhadri Madapusi" <bomadapusi75@yahoo.com> wrote in message
news:d0ikl5$jmu$1@www.eclipse.org...
> In my editor I have a text field and 2 CCombo fields. I have set my tab
> order to be Text, CCombo 1 and CCombo 2. I added following listener for
all
> the widgets.
>
> widget.addKeyListener(new KeyAdapter(){
> public void keyReleased(KeyEvent event) {
> System.out.println(event.widget.getData());
> }
> }
> );
>
> When I tab from text to CCombo1, focus is not set on CCombo1. I am sure
> control is in CCombo1 becuase when I press some key
> System.out.println(event.widget.getData()) print out data set in CCombo1.
> When I press tab the subsequently neither focus nor control is moved to
> CCombo2. System.out.println(event.widget.getData()) print out data set in
> CCombo1.
>
> Is this a known bug? Has anyone encountered this issue?
>
> Thanks in advance.
>
>
Previous Topic:Problem removing row with TableEditor
Next Topic:A table impl based on JFace/GEF/Draw2D
Goto Forum:
  


Current Time: Wed Sep 23 07:08:06 GMT 2020

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

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

Back to the top