setfocus on button on the first load of the module (1 Viewer)

pilehave

Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    Hi!

    If I have a button in my plugin, what is the code to set focus on it at pageload, if i know the buttons ID?

    Thanks in advance :)
     

    Users who are viewing this thread


    Write your reply...

    Similar threads

    Nice finding! (y)(y)(y) Adapted to new DWHD and PVHD ;) Position is in front of category bar ;)
    Nice finding! (y)(y)(y) Adapted to new DWHD and PVHD ;) Position is in front of category bar ;)
    This thread is intended for skin authors, plus those advanced users who have learnt skin programming and have customised the skins...
    Replies
    1
    Views
    759
    Thank you Cybersymian, that solution works perfectly. Thanks for the prompt reply and solution.
    Thank you Cybersymian, that solution works perfectly. Thanks for the prompt reply and solution.
    I recently upgraded to Mediaportal 1.33 x64 version. Everything works great, except when I drop out to Windows and want to go back...
    Replies
    2
    Views
    991
    The UseSSL trick made MediaPortal great again, thanks.
    The UseSSL trick made MediaPortal great again, thanks.
    Hi, Trakt has work perfectly for me for over 10 years, but for some reason this week it will not Authorize my account. I can log...
    Replies
    10
    Views
    1K
    Pushed to Github https :// github.com / MPExtended / Skins / commit / 541cd57a89b85e1971d0a6086e3dc650cb9ab60f
    Pushed to Github https :// github.com / MPExtended / Skins / commit / 541cd57a89b85e1971d0a6086e3dc650cb9ab60f
    Hi there I've recently tried to get the Bootstrap 0.7.255 skins working in a new WebMediaPortal environment but ran into several...
    Replies
    6
    Views
    974
    You can always try, select any window, turn off the Media Portal, change the ID of the selected one to the desired one (plugin) and check.
    You can always try, select any window, turn off the Media Portal, change the ID of the selected one to the desired one (plugin) and...
    I don't have a TV card in my HTPC setup, so I really only use plugins that browse and show media files, like MP TV-Series, Moving...
    Replies
    5
    Views
    2K
    Top Bottom