Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » CoolItem tooltip, enable/disable
CoolItem tooltip, enable/disable [message #440804] Fri, 06 August 2004 17:42 Go to next message
Jean-Christophe Deprez is currently offline Jean-Christophe DeprezFriend
Messages: 133
Registered: July 2009
Senior Member
Are there examples showing
a.) how to set tooltip for CoolItem, and
b.) how to enable and disable a CoolItem?

Btw tried

coolItem.getControl().setEnabled( false );

but getControl returns null....

-- TIA, d
Re: CoolItem tooltip, enable/disable [message #440975 is a reply to message #440804] Mon, 09 August 2004 15:21 Go to previous message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
You need to setControl() to something in order for it not to return null.

You can't disable a CoolItem. Since CoolItems can't really be selected
(like a button or a table), then I'm not sure what disabling one would do.
You can disable the CoolBar.

<nobody@nowhere.com> wrote in message
news:20040806.17423052@mis.configured.host...
Are there examples showing
a.) how to set tooltip for CoolItem, and
b.) how to enable and disable a CoolItem?

Btw tried

coolItem.getControl().setEnabled( false );

but getControl returns null....

-- TIA, d
Previous Topic:Preventing an SWT_AWT Frame from painting its background (flicker)
Next Topic:Usage of SWT.SIMPLE style in List?
Goto Forum:
  


Current Time: Fri Apr 26 03:14:32 GMT 2024

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

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

Back to the top