Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Combo unselect item
Combo unselect item [message #461736] Wed, 28 September 2005 22:52 Go to previous message
Brad Reynolds is currently offline Brad Reynolds
Messages: 309
Registered: July 2009
Senior Member
We have the need for the end user to unselect the selection in a
READ_ONLY | DROP_DOWN Combo. We can accomplish this by adding an empty
item in Combo but it has a valid index instead of -1 which would be no
selection. Has anyone found a better way around this? It would be
great if the Combo supported a style that would create this item for us.
Also by having an empty item it forces the indexes between the list
and our model to be off by 1.

Thanks,
Brad
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Large Content in a Dialog
Next Topic:java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.jface.text.TextSelection
Goto Forum:
  


Current Time: Mon May 20 11:23:16 EDT 2013

Powered by FUDForum. Page generated in 0.01588 seconds