[Xerte] Using Variables In Text Icons

Tenney Julian Julian.Tenney at nottingham.ac.uk
Fri Apr 11 10:39:20 BST 2008

{'Hello<br>' + myVar + '<br>Goodbye'}
You're evaluating a whole expression inside the {}'s. It's not like
Authorware where you can have multiple {}'s inside your display icons.
In this case the expression creates the whole string.
Another way to set text is to do iconID.setText(myText);


	From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Paul
Beckwith, AC&S Ltd
	Sent: 11 April 2008 09:32
	To: xerte at lists.nottingham.ac.uk
	Subject: [Xerte] Using Variables In Text Icons

	Morning all, 


	Does anybody know how to how to use a variable in a text icon
without it being on it's own independent line?








	Works Fine....


	Hello {myVar} Goodbye 


	Displays exactly as shown above.....


	Thanks in advance, 


	Paul Beckwith

	AC&S Ltd


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20080411/4142da73/attachment.html

More information about the Xerte mailing list