MenuPick Localization with Menu Line Number
Posted: Sun Jul 13, 2014 5:57 am
Forum,
I need to localize my menus and I'm currently using the standard menuPick
The problem is that the menu text items change depending on the language that is selected.
I want to determine the line number of the menu that was picked instead of the text of the menu.
I know I've seen this somewhere but cannot find it and it is probably quite simple.
Thanks for the help.
dcpbarrington
I need to localize my menus and I'm currently using the standard menuPick
Code: Select all
on menuPick pItemName
switch pItemName
case "Settings"
go to card "Settings"
break
case "LogOut"
logoutRequest
break
case "Exit"
exitRequest
break
default
break
end switch
end menuPick
I want to determine the line number of the menu that was picked instead of the text of the menu.
I know I've seen this somewhere but cannot find it and it is probably quite simple.
Thanks for the help.
dcpbarrington