<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Dave,<br><br>Thanks so much for your help.  I've said it before and I'll say it again, the Xerte Community makes a great product even better!<br><br>Have a great weekend,<br>Kent<br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">From: d_b_burnett@hotmail.com<br>To: xerte@lists.nottingham.ac.uk<br>Date: Sat, 9 Feb 2013 10:38:43 -0500<br>Subject: [Xerte] Re: Changing a button label using a script<br><br>

<style><!--
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

--></style>
<div dir="ltr">
<div><br></div><div>inspect(iconid)</div><div>debug<span style="font-size:10pt">(iconid)</span></div><div><br></div><div>inspect(rsid)</div><div>debug<span style="font-size:10pt">(rsid)</span></div><div><span style="font-size:10pt"><br></span></div><div><span style="font-size:10pt">Will expose the properties and functions available.</span></div><div><br></div><div>Cheers,</div><div>Dave</div><br><br><div><div id="ecxSkyDrivePlaceholder"></div><hr id="ecxstopSpelling">From: kent_chesnut@hotmail.com<br>To: xerte@lists.nottingham.ac.uk<br>Date: Sat, 9 Feb 2013 08:57:05 -0600<br>Subject: [Xerte] Re: Changing a button label using a script<br><br>

<style><!--
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

--></style>
<div dir="ltr">
Dave,<br><br>Thanks so much for the information.  2 questions:<br><br>1. Is there somewhere I should have been able to look to find this myself?<br><br>2. Should this also work for radio buttons (and icons in general)?<br><br>Have a great weekend,<br>Kent<br><br><div><div id="ecxSkyDrivePlaceholder"></div><hr id="ecxstopSpelling">From: d_b_burnett@hotmail.com<br>To: xerte@lists.nottingham.ac.uk<br>Date: Sat, 9 Feb 2013 09:47:57 -0500<br>Subject: [Xerte] Re: Changing a button label using a script<br><br>

<style><!--
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

--></style>
<div dir="ltr">
<div>Give the button an rs property like mybuttonrs</div><div><br></div><div>then:</div><div><br></div><div><span style="font-size:10pt">mybuttonrs</span>.setLabel("new label");</div><div><br></div><br><br><div><div id="ecxSkyDrivePlaceholder"></div><hr id="ecxstopSpelling">From: kent_chesnut@hotmail.com<br>To: xerte@lists.nottingham.ac.uk<br>Date: Sat, 9 Feb 2013 08:37:02 -0600<br>Subject: [Xerte] Changing a button label using a script<br><br>

<style><!--
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

--></style>
<div dir="ltr">
Is it possible to change a button label (or, more generally, any icon property) using a script?<br>Or is it possible to assign a button label by using a variable in the button's properties?<br><br>I'm using Xerte 2.18.<br>Thanks for any help you can provide.<br><br>Have a great weekend,<br>Kent<br>                                       </div>
<br><br>
<br>
<br>_______________________________________________
Xerte mailing list
Xerte@lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte</div>                                          </div>
<br><br>
<br>
<br>_______________________________________________
Xerte mailing list
Xerte@lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte</div>                                          </div>
<br><br>
<br>
<br>_______________________________________________
Xerte mailing list
Xerte@lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte</div>                                          </div>
<br><br>
<br>
<br>_______________________________________________
Xerte mailing list
Xerte@lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte</div>                                          </div></body>
</html>