[Xerte] Xerte3: Using htmlText in TextInputIcon

Peter Huppertz peter.huppertz at baselgovernance.org
Tue Jun 15 16:29:10 BST 2010


Interesting. It did not work with 
textfield.append("✓"); nor with
textfield.htmlText += "✓"; nor with
textfield.htmlText = textfield.htmlText + "✓";

The only way it worked:
textfield.htmlText = textfield.text + "✓";


On 15.06.2010, at 15:56, Julian Tenney wrote:

> Dunno. What does the Flex docs say? The TextInputIcon inherits from
> TextInput control.
> 
> -----Original Message-----
> From: xerte-bounces at lists.nottingham.ac.uk
> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Peter
> Huppertz
> Sent: 15 June 2010 14:54
> To: Xerte discussion list
> Subject: [Xerte] Xerte3: Using htmlText in TextInputIcon
> 
> Sorry, I really feel like spamming this list with all my Xerte3
> question, but I really appreciate the great 1:1 support ... hopefully
> these questions will be helpful later on, if more people use Xerte3.
> 
> I created some TextInputIcons in which I want the user to type answers.
> When he or she clicks a button I want either add a checkmark or a x,
> depending on the answer. The HTML entity for the checkmark is ✓
> which works fine in TextIcons of Xerte. Nevertheless if I try to add the
> checkmark to my TextInputIcon (myTextInputIcon.htmlText += ✓) it
> does not show up. Is HTML not allowed in TextInputIcons?
> 
> Peter
> 
> ==================================
> Peter Huppertz
> E-learning and IT Specialist
> International Centre for Asset Recovery
> Basel Institute on Governance
> Phone: +41 61 205 55 18
> Fax: +41 61 267 55 19
> 
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte

==================================
Peter Huppertz
E-learning and IT Specialist
International Centre for Asset Recovery
Basel Institute on Governance
Phone: +41 61 205 55 18
Fax: +41 61 267 55 19



More information about the Xerte mailing list