How to toggle a radio button using onclick code...? - 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: How to toggle a radio button using onclick code...? (/showthread.php?tid=57939) |
How to toggle a radio button using onclick code...? - EqUiNoX - 2009-09-14 Im trying to toggle a the radio button (Login) on the SettingsProfile page but cant seem to work out how. Sure i had done it before... What i am trying is... <onclick>SetFocus(4)</onclick> <onclick>Action(select)</onclick> also tried <onclick>SendClick(4)</onclick> Im sure it is possible to toggle a radio button using some method similar to this but just cant remember how.... Any ideas? - ronie - 2009-09-15 no guarantees, but try this: SendClick(windowID,controlID) - EqUiNoX - 2009-09-15 ronie Wrote:no guarantees, but try this: SendClick(windowID,controlID) Tried <onclick>SendClick(34,4)</onclick> but no luck - Jezz_X - 2009-09-15 I wonder why you can't just use the radio button itself instead of using one button to activate another - EqUiNoX - 2009-09-15 Reason is simple, in ellipsis we have a dock, similar to the apple docklet thingy, which in effect is in another dialog. So i want to create a toggle login icon in the dock, that sends a message to the main profiles screen to toggle the hidden login radio button. I have done a screenshot with the dock dialog brought up to show what i mean.... |