Perform action on visibility change?
#1
Is there any way to perform an action when a control's visible state changes?

Specifically what I was hoping to do was change the control focus. Wanted to do something like a cascading menu like Windows Start button. When a certain control gets focus, I would have the other menu appear using the visible condition, and have the GUI focus move to the new control group.
Reply
#2
Sure - you do it <onfocus> of the original control via <onfocus>Control.SetFocus(id)</onfocus>
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
jmarshall Wrote:Sure - you do it <onfocus> of the original control via <onfocus>Control.SetFocus(id)</onfocus>

Ahh cool. Thanks JM, you rock as usual!
Reply

Logout Mark Read Team Forum Stats Members Help
Perform action on visibility change?0