Another question about Combo Box

SWT Designer allows you to create the views, editors, perspectives, pref pages, composites, etc. that comprise Eclipse SWT & RCP applications and plug-ins.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Another question about Combo Box

Postby avier5 » Mon Sep 13, 2004 12:15 am

Hi All,

I have a combo box with more then 300 items. I want that the user will make his search easier and quicker by puting the first item that starts with the first letter that the user entered to the combo-line. How can I achive this in an elegant way?
Or is there any swt widget that support that behavior?


Thanks, :D
HBC.
avier5
 
Posts: 41
Joined: Thu Jul 22, 2004 12:12 am

Re: Another question about Combo Box

Postby Eric Clayberg » Mon Sep 13, 2004 3:30 pm

avier5 wrote:I have a combo box with more then 300 items. I want that the user will make his search easier and quicker by puting the first item that starts with the first letter that the user entered to the combo-line. How can I achive this in an elegant way? Or is there any swt widget that support that behavior?

Have you tried adding a KeyPressed handler to trap the letter and then set the selection?
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to SWT Designer

Who is online

Users browsing this forum: No registered users and 1 guest