Reply to thread

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


Top Bottom