Page 1 of 1

htmletext in ios ?

Posted: Thu Dec 26, 2013 11:28 pm
by vedus
i have try some methods to show up Greek chars in the dialogs but no success until now :(
the Greek letters in desktop (mac-Windows) is working ok,but in the ios (ipad) i get the source from the answer dialog.
i am using a hidden fld
here is the code

Code: Select all

put the dgdataofindex[it] of control "grid1" into myarray
  put myArray["first_name"]&& myArray["last_name"] into theKey
  set the unicodetext of fld "text1" to uniencode(theKey,"utf8")
set the htmltext of field "text1" to mTag
 answer question "Delete"&& (mTag) with "Delete" and "No"
the last photo is from ipad!!
any clue or solution about this?
Screen Shot 2013-12-27 at 12.21.36 AM.png
Screen Shot 2013-12-27 at 12.21.49 AM.png
Screen Shot 2013-12-27 at 12.21.49 AM.png (26.73 KiB) Viewed 2637 times

Re: htmletext in ios ?

Posted: Fri Dec 27, 2013 12:22 am
by Klaus
Hi vedus,

the explanation is this simple:
In livecode the "Ask" and "Answer" dialogs are just STACKS and are scripted (by RunRev) to display HTMLTEXT if you supply it!
On iOS and Android, these dialogs are supplied by the underlying OS and that OS does not know at all what HTMLTEXT means,
because HTMLTEXT is a Livecode specific term!

OK, that's what's happening here, but I have no idea how to workaround this.


Best

Klaus

Re: htmletext in ios ?

Posted: Fri Dec 27, 2013 12:36 am
by vedus
Klaus wrote:Hi vedus,

the explanation is this simple:
In livecode the "Ask" and "Answer" dialogs are just STACKS and are scripted (by RunRev) to display HTMLTEXT if you supply it!
On iOS and Android, these dialogs are supplied by the underlying OS and that OS does not know at all what HTMLTEXT means,
because HTMLTEXT is a Livecode specific term!

OK, that's what's happening here, but I have no idea how to workaround this.


Best

Klaus
hi klaus and merry christmas
Well was a good explanation about the problem.:D
from that i have figure out until now,there is no way to show up greek words in ios dialog:(

Re: htmletext in ios ?

Posted: Fri Dec 27, 2013 2:13 am
by Klaus
Hi vedus,

well, why not build your own "dialog" in that case?
Create and show/hide a group with that look and you are done :D


Best

Klaus