[Xerte] Expression in tooltip field

Dave Burnett d_b_burnett at hotmail.com
Thu Nov 18 16:54:30 GMT 2010



Thanks Julian, cool.

I was just about to post "Forget it" I'll just set them on init:

btn_back.tip = interfaceData.navigation[0].back[0].tooltip;


But if  you're going to futz with it, any way to get a line break char of some kind in there?
<b>, \n, ^p whatever?


Dave


From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Date: Thu, 18 Nov 2010 16:44:51 +0000
Subject: RE: [Xerte] Expression in tooltip field



Give this a try: put the expression in { } to make it expression(). I have not tested this, so please tell me if it works /doesn’t. myVar = ‘Don’t eat yellow snow’; //latertooltip = {myVar} From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 18 November 2010 16:26
To: Xerte list
Subject: [Xerte] Expression in tooltip field Anyway to get an interpreted expression in that field?

interfaceData.navigation[0].back[0].tooltip
Shows up as a literal.




This message and any attachment are intended solely for the addressee and may 
contain confidential information. If you have received this message in error, 
please send it back to me, and immediately delete it.   Please do not use, 
copy or disclose the information contained in this message or in any attachment.  
Any views or opinions expressed by the author of this email do not necessarily 
reflect the views of the University of Nottingham.


This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte

This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation. 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20101118/e9ab8d63/attachment.html


More information about the Xerte mailing list