Strange menu TAG problem OS X

Bob Sneidar bobs at twft.com
Tue Aug 30 11:37:24 EDT 2011


Seems stupid for me to say, but I'd check that the actual name of the about stack really is about and not uber. You may have simple made the display name "about", but the actual stack name is "uber". 

Bob


On Aug 30, 2011, at 5:14 AM, Klaus on-rev wrote:

> Hi friends,
> 
> toady I encounteed a very strange problem with my help menu  on OSX
> LC 4.6.3, OS X Lion
> 
> The content of the menu, the "labels" are correctly generated "on the fly" 
> according to the current OS language:
>> Hilfe/H|help
>> -
>> Registrieren.../|register
>> -
>> Nach Updates suchen.../|search4update
>> -
>> Über/|about
> 
> 
> Script as usual:
>> on menuPick pItemName
>>  switch pItemName
>>     case "search4update"
>>       ## Stuff...
>>        break 
>>     case "register"
>>        ## more stuff here
>>        break
>>     case "help"
>>        ## help stuff
>>        break
>>     case "about"
>>        go stack "about"
>>        break
>>  end switch
>> end menuPick
> 
> 
> The "about" stack was added today by me, but picking the menu
> "about" did not work!? No stack "about"!?
> 
> All other menuitems work as exspected.
> 
> Debugging showed me that the "pItemName" was NOT "about" as exspected
> but "Über"???, so the stack did not show until I added this:
> ...
> case "about"
> case "über"
> ...
> 
> What gives? It should be "about" in any case, right?
> That's what these new menu "tags" are made for!
> 
> Do I need to catch AppleEvents for the "App menu" stuff?
> 
> Any hints very appreciated.
> 
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> http://www.major-k.de
> klaus at major.on-rev.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





More information about the use-livecode mailing list