How to traverse through PGroup without focusing toggle button [message #57152] |
Mon, 04 August 2008 18:46 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.03192 seconds