UnicodeLabel & pulldown menu trouble

index at kenjikojima.com index at kenjikojima.com
Thu May 23 06:18:12 EDT 2013


Hankan,

Thanks a reply.
I was having switch unicode problem.

on menuPick pItemName
   switch pItemName
      case uniencode("Choice 1")
         set the unicodeText of fld 1 to uniencode("Choice 1")
         break
      case uniencode("Choice 2")
         set the unicodeText of fld 1 to uniencode("Choice 2")
         break
      case uniencode("Choice 3")
         set the unicodeText of fld 1 to uniencode("Choice 3")
         break
   end switch
end menuPick

Best,
--
Kenji Kojima / 小島健治
http://www.kenjikojima.com/


On May 23, 2013, at 4:10 AM, Hakan at Exformedia.se wrote:

> What's your problem?
> 
> You get a unicode answer back if you have unicode label. Try this:
> 1. Create a menu button with unicode labels
> 2. create a new text field and name it "result"
> 3. Put the following code on the menu button:
> 
> on menuPick pItemName
>   set the unicodeText of field "result" to pItemName
> end menuPick
> 
> ___________________________
> http://www.exformedia.se
> Check out my new iOS game at http://appstore.com/swapatiswap
> 
> 20 maj 2013 kl. 21:00 skrev index at kenjikojima.com:
> 
>> Hi,
>> 
>> When I set an unicode label of pulldown menu. I cannot get a menu item.
>> 
>> --
>> Kenji Kojima / 小島健治
>> http://www.kenjikojima.com/
>> 
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list