How to toggle a radio button using onclick code...?
#1
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?
Currently working on Ellipsis 1.3 Updates. Update Requests Here.
Ellipsis for XBMC 1.2.1 Click here to download & for SVN details.
Twitter.com/TeamBlackbolt | Facebook.com/TeamBlackbolt1 | TeamBlackbolt.co.uk
Reply
#2
no guarantees, but try this: SendClick(windowID,controlID)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
ronie Wrote:no guarantees, but try this: SendClick(windowID,controlID)

Tried <onclick>SendClick(34,4)</onclick> but no luck Sad
Currently working on Ellipsis 1.3 Updates. Update Requests Here.
Ellipsis for XBMC 1.2.1 Click here to download & for SVN details.
Twitter.com/TeamBlackbolt | Facebook.com/TeamBlackbolt1 | TeamBlackbolt.co.uk
Reply
#4
I wonder why you can't just use the radio button itself instead of using one button to activate another
Reply
#5
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....

Image
Currently working on Ellipsis 1.3 Updates. Update Requests Here.
Ellipsis for XBMC 1.2.1 Click here to download & for SVN details.
Twitter.com/TeamBlackbolt | Facebook.com/TeamBlackbolt1 | TeamBlackbolt.co.uk
Reply

Logout Mark Read Team Forum Stats Members Help
How to toggle a radio button using onclick code...?0