|Excluding custom Composite from tab order [message #466599]
||Wed, 11 January 2006 20:48
| Peter Nehrer
Registered: July 2009
I have a custom Composite (with two Labels in it), which I use within a
form Section. When tabbing through other controls in the section, focus
gets "eaten" by the custom composite -- can't tab out of it again (until
I click some other focusable control).
I understand that I can implement TraverseListener and set e.doit = true
to make this piece work, but what I really want to do is make this
composite behave like a Label in that I want it to be skipped altogether
when traversing. I also know that I can do this by excluding the
composite from its parent's tablist.
However, this would require me to modify code outside of the custom
composite itself -- after the parent is constructed, remove all
instances of this custom composite from its tablist.
Is there anything I can do to the custom composite itself to cause any
parents to skip it when traversing?
Thanks in advance for any suggestions.
Powered by FUDForum
. Page generated in 0.02186 seconds