Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » CoolItem tooltip, enable/disable
CoolItem tooltip, enable/disable [message #440804] Fri, 06 August 2004 13:42 Go to next message
Eclipse UserFriend
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 11:21 Go to previous message
Eclipse UserFriend
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: Tue Jul 15 14:01:15 EDT 2025

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

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

Back to the top