2

I've been looking around for ages and can't seem to find whether this is possible or not.

I have a Combo widget populated with some strings and wan't to set the tool tip text to be something different for each item in the Combo widget. i.e. When you mouse over an item in the Combo widget a string is displayed above the mouse icon.

For example if there are 2 items in the Combo widget, Foo and Bar, can you set the tool tip text to be "Foo" when you mouse over Foo and "Bar" when you mouse over Bar??

Any advice/insights would be great, thanks!

SteWoo
  • 458
  • 1
  • 8
  • 21

1 Answers1

2

The solution by Edward Thomson is probably the best one, but if you don't want to code, you might use TooltipCCombo class from blog post Tooltip enabled CCombo for SWT (at your's own risk).

Sorceror
  • 4,835
  • 2
  • 21
  • 35
  • Cheers for the answers guys, I'l try them out when I get back to that bit of the project. Moved on for now. – SteWoo Mar 21 '13 at 12:13