Other ways to call a function
#1
Hi,

Are there any other ways to call a function other than <onclick>, <onfocus> and <onunfocus>? The control I'm interested in doesn't get focus , so won't leave focus, and won't be clicked on. I supposed I want <ondisplay> or something like that...
Reply
#2
there's <onload> which will be called on window open
and <onunload> will be called on window close.

please be more specific on what you're trying to accomplish ;-)
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
Specifics/Context:

I have an <include> that builds an abstract control list (containing weather observation data).

Once the list is built I want to set some other window properties based on the list contents. Namely, the Current.xyz values. If I set these then I don't need to change all the lines that refer to Current.xyz.

However, the Observation panel never receives focus as far as my limited understanding of skinning (plus experiments) goes.

Not sure if that sheds any light on the matter.

Anyway it seems <onload> only applies to <window> so can't be used in this circumstance.
Reply

Logout Mark Read Team Forum Stats Members Help
Other ways to call a function0