Hi there,
I’m currently working on a menu using Common UI, and I’m stuck on a focus issue with my custom option button setup.
I have a widget called WB_OptionButton, which contains two CommonButtonBase buttons:
WB_BackgroundButton(the one I want to receive focus)WB_ActionButton(secondary button)
The problem is that the focus always goes to the wrong button – it defaults to WB_ActionButton instead of WB_BackgroundButton.
Even when I use SetFocus() or set DesiredFocusWidget to WB_BackgroundButton, it doesn’t seem to work. The only time the focus is correctly applied is when I move WB_BackgroundButton below WB_ActionButton in the hierarchy – which I unfortunately can’t do in this case due to layout requirements.
Has anyone run into this before or knows how to force the correct button to receive focus?
I’d really appreciate any advice or solutions – thanks in advance!
