Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » How to traverse through PGroup without focusing toggle button
How to traverse through PGroup without focusing toggle button [message #57152] Mon, 04 August 2008 18:46 Go to next message
Eclipse UserFriend
Originally posted by: frank.langanke.googlemail.com

Hey,

I have some PGroups containing Text widgets. I want to traverse those Text
widgets without focusing the toggle button while hopping from one PGroup
to another. Any hint how to do this ?

Regards,

Frank.
Re: How to traverse through PGroup without focusing toggle button [message #57228 is a reply to message #57152] Wed, 06 August 2008 13:17 Go to previous message
Eclipse UserFriend
Originally posted by: frank.langanke.googlemail.com

I found a solution. PGroups adds an internal SWT.FocusIn Listener to
itself, which focus the togglebutton when the widget gains focus. One
workaround is just to add another FocusListener, which sets the focus on
the first child of the group. When the group gets focus, the custom
FocusListener is executed right after the internal.
Re: How to traverse through PGroup without focusing toggle button [message #591528 is a reply to message #57152] Wed, 06 August 2008 13:17 Go to previous message
Eclipse UserFriend
Originally posted by: frank.langanke.googlemail.com

I found a solution. PGroups adds an internal SWT.FocusIn Listener to
itself, which focus the togglebutton when the widget gains focus. One
workaround is just to add another FocusListener, which sets the focus on
the first child of the group. When the group gets focus, the custom
FocusListener is executed right after the internal.
Previous Topic:Nebula ViewerCell with custom image
Next Topic:OwnerDrawLabelProvider and PaintItem events for Grid/GridViewer?
Goto Forum:
  


Current Time: Sat Dec 21 16:47:58 GMT 2024

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

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

Back to the top