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
    768
    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
    994
    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
    1K
    Well, I had already recognized your problem, but I still wanted to point out the basic connections once again. Unfortunately, I don't have a fundamentally different solution for you, but with this approach you should achieve your goal. ;) The idea of first setting the current genre colors with the defines is certainly a good one, as...
    Well, I had already recognized your problem, but I still wanted to point out the basic connections once again. Unfortunately, I...
    Good afternoon, Does anyone know a way of referencing the genre colour of the currently selected item in the TV Guide. We are all...
    Replies
    4
    Views
    380
    Top Bottom