htmletext in ios ?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
vedus
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 153
Joined: Tue Feb 26, 2013 9:23 am

htmletext in ios ?

Post by vedus » Thu Dec 26, 2013 11:28 pm

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 2631 times

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: htmletext in ios ?

Post by Klaus » Fri Dec 27, 2013 12:22 am

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

vedus
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 153
Joined: Tue Feb 26, 2013 9:23 am

Re: htmletext in ios ?

Post by vedus » Fri Dec 27, 2013 12:36 am

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:(

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: htmletext in ios ?

Post by Klaus » Fri Dec 27, 2013 2:13 am

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

Post Reply