[Xerte] Re: Changing a button label using a script

Dave Burnett d_b_burnett at hotmail.com
Sat Feb 9 14:47:57 GMT 2013


Give the button an rs property like mybuttonrs
then:
mybuttonrs.setLabel("new label");


From: kent_chesnut at hotmail.com
To: xerte at lists.nottingham.ac.uk
Date: Sat, 9 Feb 2013 08:37:02 -0600
Subject: [Xerte] Changing a button label using a script





Is it possible to change a button label (or, more generally, any icon property) using a script?
Or is it possible to assign a button label by using a variable in the button's properties?

I'm using Xerte 2.18.
Thanks for any help you can provide.

Have a great weekend,
Kent
 		 	   		  






_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20130209/194666d2/attachment.html>


More information about the Xerte mailing list