Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » ComboBox in Popup window
ComboBox in Popup window [message #772019] Wed, 28 December 2011 20:06 Go to next message
ynwa  is currently offline ynwa Friend
Messages: 5
Registered: October 2011
Junior Member
Hi All,

In SWT, i want to pop up a window when the user clicks on a image and then display a combo box which will get the list items dynamically as the user enters the text into the combo's text field. I am searching for a way to get this done but i am not getting a way to start.

Kindly let me know if this is possible in some way.

Thanks.

[Updated on: Wed, 28 December 2011 20:12]

Report message to a moderator

Re: ComboBox in Popup window [message #772201 is a reply to message #772019] Thu, 29 December 2011 08:30 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 5487
Registered: July 2009
Senior Member
Use a ContentProposalAdapter

Tom

Am 28.12.11 21:06, schrieb ynwa Mising name:
> Hi All,
>
> In SWT, i want to pop up a window when the user clicks on a image and
> then display a combo box which will get the list items dynamically as
> the user enters the text into the combo's text field. I am searching for
> a way to get this done but i am not getting a way to start.
>
> Kindly let me know if this is possible in some way.
>
> Thanks.
Re: ComboBox in Popup window [message #772303 is a reply to message #772201] Thu, 29 December 2011 13:25 Go to previous message
Sharon Snyder is currently offline Sharon SnyderFriend
Messages: 56
Registered: September 2010
Member

Tom,

I'm using a ContentProposalAdapter in my program and would love to override some of the behavior....like the double click or the fact that once it gets focus it doesn't give it up......you don't happen to know how to do that - do you? I'm going to be asking this in the SWT group as well, but figured since you brought it up here as an answer to this other question I'd ask.

I find that while the widget is very useful, it's very closed with regards to overriding some of the behaviors......which is the reason why I find its usefulness very limiting.

-Sharon
Previous Topic:Re: ComboBox in Popup window
Next Topic:rich tooltips/managing colors with FormText
Goto Forum:
  


Current Time: Sun Dec 21 02:05:12 GMT 2014

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

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