Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Combobox with content
Combobox with content [message #819002] Mon, 12 March 2012 11:12 Go to next message
Torben Hensgens is currently offline Torben HensgensFriend
Messages: 2
Registered: March 2012
Junior Member
Hey,

i'm currently experiencing problems when trying to put arbitrary
content in a (combo-)box, let's say even with Jface's comboviewer:

If i remember correcty the documentation promises that one could do "anything" as content in a combobox and that's where the problem begins..

Currently i'm using 'Comboviewer' and i tried to add images to it, but it only displays the image's 'internal' id. Same goes for a canvas for each "element" of the box.

Does anyone have a good approach for me here?

Thanks Smile
Re: Combobox with content [message #819024 is a reply to message #819002] Mon, 12 March 2012 11:49 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Use TableCombo from Nebula.

Tom

Am 12.03.12 12:12, schrieb Torben Hensgens:
> Hey,
>
> i'm currently experiencing problems when trying to put arbitrary
> content in a (combo-)box, let's say even with Jface's comboviewer:
>
> If i remember correcty the documentation promises that one could do
> "anything" as content in a combobox and that's where the problem begins..
>
> Currently i'm using 'Comboviewer' and i tried to add images to it, but
> it only displays the image's 'internal' id. Same goes for a canvas for
> each "element" of the box.
>
> Does anyone have a good approach for me here?
>
> Thanks :)
Re: Combobox with content [message #819145 is a reply to message #819002] Mon, 12 March 2012 14:59 Go to previous message
Torben Hensgens is currently offline Torben HensgensFriend
Messages: 2
Registered: March 2012
Junior Member
Wow, life can be so easy, thanks!

So far i tried it with "normal/usual images"; is it possible to draw, let's say, a canvas or sth else in every row/content?

If you don't answer this one i will have a closer look in the documentation (if any; source), but maybe you already tried sth like that Wink
Previous Topic:Redraw problem after a refactoring
Next Topic:ScrollComposite and widget status
Goto Forum:
  


Current Time: Fri Apr 19 10:02:34 GMT 2024

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

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

Back to the top