Double click event in "Combo" [message #444363] |
Tue, 12 October 2004 06:10 |
Eclipse User |
|
|
|
Originally posted by: tanut.sanuk.biz
Hello
I have add mouseListerner to my SWT Combo. When I double click on its
area, it does not fire the event function. The only way it can is double
click on the Combo border.. ???
How should I do? I want the user choose the item in combo box or user can
double click on it to select the default item.
Thank you :)
|
|
|
|
Re: Double click event in "Combo" [message #444447 is a reply to message #444375] |
Wed, 13 October 2004 03:49 |
Eclipse User |
|
|
|
Originally posted by: tanut.sanuk.biz
Thank you. I will try it
ps. my Eclipse version is 2.1.3
"Veronika Irvine" <veronika_irvine@oti.com> wrote in message
news:ckgodn$ed9$1@eclipse.org...
> 1) Sounds like a bug. What platform are you using?
> 2) You should use the default selection listener not the double click
> listener. This will make your application more accessible and have a more
> correct feel for the platform it is running on.
>
> Combo.addSelectionListener(new SelectionAdapter(){
> public void widgetDefaultSelected(SelectionEvent e) {
> }
> });
>
> "Tanut Apiwong" <tanut@sanuk.biz> wrote in message
> news:ckfs7k$l5k$1@eclipse.org...
> > Hello
> > I have add mouseListerner to my SWT Combo. When I double click on its
> > area, it does not fire the event function. The only way it can is double
> > click on the Combo border.. ???
> > How should I do? I want the user choose the item in combo box or user
can
> > double click on it to select the default item.
> >
> > Thank you :)
> >
> >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02685 seconds