home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
General Support
Problem: Updating a skin setting with #(skin.setstring()) when list control has focus
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Rob Hexenmeister" data-source="post: 1295855" data-attributes="member: 113164"><p>Good evening,</p><p></p><p>I have a basic understanding of using skin.setstring and am able to set a skin property when a control gets focus. My problem is updating the setting when moving between items within a listcontrol. The code I have below only works when the listcontrol first gets focus, not when I move to a different list item within the control.</p><p></p><p>Can anyone suggest a different event (other than onfocus) or suggest a work-around for me? This is the problem code:</p><p></p><p><control></p><p><description>group element</description></p><p><type>group</type></p><p></p><p><control></p><p><description>composite control</description></p><p><type>facadeview</type></p><p><id>50</id></p><p></p><p><control></p><p><description>listcontrol</description></p><p><type>listcontrol</type></p><p><onfocus>#(skin.setstring('keep.thumb',#selectedthumb))</onfocus></p><p>.</p><p>.</p><p>.</p><p><control></p><p>.</p><p>.</p><p>etc</p><p></p><p>I am trying to pass the file location of the previously selected thumb when moving to a new window.</p><p></p><p>Many thanks</p><p>RH</p></blockquote><p></p>
[QUOTE="Rob Hexenmeister, post: 1295855, member: 113164"] Good evening, I have a basic understanding of using skin.setstring and am able to set a skin property when a control gets focus. My problem is updating the setting when moving between items within a listcontrol. The code I have below only works when the listcontrol first gets focus, not when I move to a different list item within the control. Can anyone suggest a different event (other than onfocus) or suggest a work-around for me? This is the problem code: <control> <description>group element</description> <type>group</type> <control> <description>composite control</description> <type>facadeview</type> <id>50</id> <control> <description>listcontrol</description> <type>listcontrol</type> <onfocus>#(skin.setstring('keep.thumb',#selectedthumb))</onfocus> . . . <control> . . etc I am trying to pass the file location of the previously selected thumb when moving to a new window. Many thanks RH [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
General Support
Problem: Updating a skin setting with #(skin.setstring()) when list control has focus
Contact us
RSS
Top
Bottom