SendClick vs SetFocus after r24576 - 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: SendClick vs SetFocus after r24576 (/showthread.php?tid=61766) |
SendClick vs SetFocus after r24576 - vajonam - 2009-11-16 Hi, I am seeing a problem with a skin (MiniMeeida)'s SystemInfo screen. The skin uses a wraplist to SendClicks to the Buttons that show systeminfo. Code: <item id="100"> This doesn't work in A2. spiff on the forums suggested that I try. SetFoucs instead. While this set the focus on the button, it doesn't return focus back to wrap list. Can anyone suggest how I can keep this functionality working?. It seems to be related to http://trac.xbmc.org/changeset/24576 - vajonam - 2009-11-16 after setting the focus to the button, i set the focus back to the wraplist. this was in the button. <onfocus>SetFocus(9000)</onfocus> Terrible hack.. anyone have a better idea? - jmarshall - 2009-11-17 The new code automatically changes category based on which of the main buttons has focus. Why not just use that? - Waffa - 2009-11-22 That would be even better.. But uhh could you give an example or a link how to use the new code. - jmarshall - 2009-11-22 See PM3.HD or Confluence IIRC all you need is the buttons with the appropriate ID there and XBMC handles the rest. Cheers, Jonathan - Waffa - 2009-11-22 Ooh, ok thanks will play with it. - vajonam - 2009-12-16 Waffa Wrote:Ooh, ok thanks will play with it. I think in the case of MiniMeedia, the buttons are invisbile. There is a wraplist that used to "SendClick". Since the that has changed its a problem. It would be solved if minimeedia could place a bunch of buttons in a wraplist. |