Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Combo box popup
Combo box popup [message #444191] Fri, 08 October 2004 12:50 Go to next message
Eclipse UserFriend
Originally posted by: mikko.nylen.gmail.com

I'm new to SWT and after a little studying, I came to Combo widget.
After a little playing with it, I ended up searching from the API how I
could implement this:

I have Combo, which style is DROP_DOWN, it contains one item: "select
me". When the user writes "s", it should pop up the drop down and focus
automatically to the item from select box that best matches to user's
input. In this case, it should focus on "select me".

I'm pretty sure that I can do this with listeners, but if there's
already something that I didn't note, which with I can do this, I would
use that instead of writing my own listener. So, is there?

- Mikko Nylén
Re: Combo box popup [message #444219 is a reply to message #444191] Fri, 08 October 2004 20:38 Go to previous messageGo to next message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2151
Registered: July 2009
Senior Member
Hi Mikko,

There is no way provided of doing this automatically. With listeners you
can almost get the behaviour that you describe, but you will not be able to
programatically drop down the combo, you will only be able to fill in the
text field appropriately.

Grant

"Mikko Nyl
Re: Combo box popup [message #772017 is a reply to message #444219] Wed, 28 December 2011 20:00 Go to previous message
ynwa  is currently offline ynwa Friend
Messages: 5
Registered: October 2011
Junior Member
Is it still in the same status or is it possible someway?
Previous Topic:Tracking mouse pointer over a composite
Next Topic:Re: ComboBox in Popup window
Goto Forum:
  


Current Time: Wed Nov 26 23:30:02 GMT 2014

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

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