Posts: 204
Joined: Oct 2012
Reputation:
1
powlo
Senior Member
Posts: 204
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...
Posts: 15,263
Joined: Jan 2009
Reputation:
727
ronie
Team-Kodi Member
Posts: 15,263
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 ;-)
Posts: 204
Joined: Oct 2012
Reputation:
1
powlo
Senior Member
Posts: 204
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.