How can I get Unicode Menu Items on Windows?

index at kenjikojima.com index at kenjikojima.com
Mon Jul 29 12:26:55 EDT 2013


Thierry,
Yes, it works well.

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


On Jul 29, 2013, at 5:49 AM, Support Toki wrote:

> Miss one line in the handler:
> 
> on menuPick chosenItem
> 
> switch chosenItem
> case "ITEM1"
> -- put your stuff here
> break
> case "ITEM2"
> ...
> end switch
> 
> Thierry Arbellot
> Digital Salade
> 
> website   : www.tokitest.fr
> email     : support at tokitest.fr
> AIM/iChat : supportToki
> Skype     : support.toki
> 
> Le 29/07/2013 11:45, Support Toki a écrit :
>> Hi,
>> 
>> The best solution for using unicode menu is to add tags.
>> The menuPick handler will get the tag as a parameter, and the tag is always ANSI on all platforms.
>> For more explaination, check the keyword menu in the dictionary.
>> The tag allows to manage cascading menus when menuHistory doesn't.
>> I use this in a Chinese version of one of my app and it just works fine.
>> 
>> You menu text property will look like this:
>> 
>> 新規/|ITEM1
>> 開く/|ITEM2
>> 閉じる/|ITEM3
>> -
>> 終了/|ITEM4
>> 
>> And the menuPick handler:
>> 
>> on menuPick chosenItem
>> 
>> case "ITEM1"
>> -- put your stuff here
>> break
>> case "ITEM2"
>> ...
>> 
>> Hope it helps.
>> 
>> Thierry Arbellot
>> Digital Salade
>> 
>> website   : www.tokitest.fr
>> email     : support at tokitest.fr
>> AIM/iChat : supportToki
>> Skype     : support.toki
>> 
>> Le 28/07/2013 22:32, index at kenjikojima.com a écrit :
>>> This is temporary unicode menu script until bugs are fixed.
>>> go to url "http://kenjikojima.com/livecode/download/tempoUnicodeMenu.livecode"
>>> 
>>> Use "menuHistory" and custom function "getUnicodeMenuItem".
>>> It works on MacOS and WIndows. I do not use Linux. Please try.
>>> -- 
>>> 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
> 
> 
> _______________________________________________
> 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