Saturday, March 10, 2012

xml-script clickBehavior

No worries, solved the problem, it was actually "setProperty" that was causing the problem. I took a guess at "stPropertyAction" and it looks like I was right, as it now works.

Working snippet follows:

<label id=

"Show1">

<behaviors>

<clickBehavior>

<click>

<setPropertyAction target=

"Panel1" property="visible" value="true" />

<setPropertyAction target=

"Panel2" property="visible" value="false" />

</click>

</clickBehavior>

</behaviors>

</label>

No comments:

Post a Comment