Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » SWT ToolItem armed by default
SWT ToolItem armed by default [message #456998] Tue, 14 June 2005 09:48 Go to next message
Eclipse UserFriend
Originally posted by: murley.murley.nurley

I am creating a set of ToolItem, when run the program, the first ToolItem
appear the shape that like when mousemove on it


i had tried to set "tooIItemObj.setSelection(false)"
but still cannot solve the problem.
I have no idea in it.
Do anyone know whats the problem
thanks


Re: SWT ToolItem armed by default [message #457004 is a reply to message #456998] Tue, 14 June 2005 13:57 Go to previous messageGo to next message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
The toolbar has focus and is drawing the tool item appropriately (try the
arrow keys).

"murley" <murley@murley.nurley> wrote in message
news:d8m95e$3vu$1@news.eclipse.org...
> I am creating a set of ToolItem, when run the program, the first ToolItem
> appear the shape that like when mousemove on it
>
>
> i had tried to set "tooIItemObj.setSelection(false)"
> but still cannot solve the problem.
> I have no idea in it.
> Do anyone know whats the problem
> thanks
>
>
>
Re: SWT ToolItem armed by default [message #457007 is a reply to message #457004] Tue, 14 June 2005 14:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: murley.murley.murley

thanks for reply~
but i dont understand what you mean "arrow key"?
Re: SWT ToolItem armed by default [message #457022 is a reply to message #457007] Wed, 15 June 2005 05:53 Go to previous messageGo to next message
Waqas Ilyas is currently offline Waqas IlyasFriend
Messages: 6
Registered: July 2009
Junior Member
When you create the controls for ur application including the toolbar set
the focus on some control other than the toolbar by calling its setFocus()
method. By default the focus is set on the fist control and that might be ur
toolbar in this case.

"murley" <murley@murley.murley> wrote in message
news:d8mp8a$pu0$1@news.eclipse.org...
> thanks for reply~
> but i dont understand what you mean "arrow key"?
>
>
Re: SWT ToolItem armed by default [message #457029 is a reply to message #457022] Wed, 15 June 2005 08:36 Go to previous message
Eclipse UserFriend
Originally posted by: murley.murley.murley

problem solved, thanks
Previous Topic:How to bind the missing swt?
Next Topic:Active X (excel) events in SWT
Goto Forum:
  


Current Time: Fri Apr 26 13:45:37 GMT 2024

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

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

Back to the top