Problem with <onback> - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12) +--- Thread: Problem with <onback> (/showthread.php?tid=324322) |
Problem with <onback> - andersfisker - 2017-11-19 Hi all, To explain my problem, i figure it might be easier to just explain the exact steps involved: 1. From my Home window, i open a custom window with id 1100. 2. In this window my default control is 3000, when i press right, i set focus to a control with id 3100. 3. When i press back, while being focused on control 3100, the window closes - and i am back to the home window. My problem is, i want <onback> for control 3100, to change focus to 3000. But as you see clicking back goes to the previous window. Do any of you know how to solve this? RE: Problem with <onback> - Hitcher - 2017-11-19 You don't say if you've added to control 3100 or not. RE: Problem with <onback> - andersfisker - 2017-11-20 I had <onback>Control.SetFocus(3000)</onback> - I tried changing it to <onback>3000</onback> and it worked! :-D I thought those expressions were equivalent. Guess not. Thanks man. |