2018-03-20, 04:48
The <onup> is not on the target control (your button), it is on the main menu control because that it the control that is focused. So the main menu has, for example, <ondown> that will redirect from main menu control to the submenu control, and I believe, <onup> is the search button control, I may be wrong. You could bypass search button, for example, and replace that control number with your button control id. It is a little more complicated than that, because if you have widgets enabled, they work with <onup>, but you can play around. I am telling you by memory, so I may be off a little bit, so I'm sorry it is not a straight how-to.
I guess the concept is, when the focused control (the main menu) has <ondown>, that means, where does the focus goes when I hit arrow down?. So under main menu control, <ondown> goes to the submenu. Under the submenu control, <onup> returns focus to the main menu. So on the main menu control, you can try replacing, just to test, the onup tag with your button control id. On your button control id, you probably want to include <ondown> (since it is placed on the top> the main menu control id so it can return focus to the main menu when desired.
Hope this makes sense.
I guess the concept is, when the focused control (the main menu) has <ondown>, that means, where does the focus goes when I hit arrow down?. So under main menu control, <ondown> goes to the submenu. Under the submenu control, <onup> returns focus to the main menu. So on the main menu control, you can try replacing, just to test, the onup tag with your button control id. On your button control id, you probably want to include <ondown> (since it is placed on the top> the main menu control id so it can return focus to the main menu when desired.
Hope this makes sense.