RTFText problem
Posted: Wed Feb 12, 2014 4:00 pm
Hi,
now I'm translating my iPhone app to Android but I've a problem.
I use RTF data, if I set the rtf code into text field in Android, this text non appear.
I've replicated the error:
Create a new stack
put a text field named "fieldRTF" into card
put a button into card
this code is for the button:
The RTF text is displayed with iPhone but not displayed in Android.
Any hints?
Thanks,
Paolo
now I'm translating my iPhone app to Android but I've a problem.
I use RTF data, if I set the rtf code into text field in Android, this text non appear.
I've replicated the error:
Create a new stack
put a text field named "fieldRTF" into card
put a button into card
this code is for the button:
Code: Select all
on mouseUp
put "{\rtf1\mac {\fonttbl{\f0\fnil \fcharset77 Lucida Grande;}{\f1\fnil \fcharset77 Arial;}}{\colortbl;\red0\green0\blue0;\red55\green118\blue214;\red0\green0\blue0;}\pard \qc \b \f0 \fs34 \cf2 Porte aperte alla CDS System}" into tRTFtext
set the RTFtext of field "fieldRTF" to tRTFtext
end mouseUp
Any hints?
Thanks,
Paolo