02-11-2010 08:02 AM
02-11-2010 08:06 AM
02-11-2010 08:24 AM
02-11-2010 08:47 AM
Try something like this.
Here are a few other forum entries that should help as well.
http://forums.ni.com/ni/board/message?board.id=170&message.id=202568&query.id=1435729#M202568
http://forums.ni.com/ni/board/message?board.id=170&message.id=157805&query.id=1435729#M157805
02-11-2010 09:43 AM
Thanks but that's not what i'm saying. I don't want to recreate new menus control by control. I just want the default menus to have different labels for the same functions. That should be possible globally, i can't rebuild the menu from scratch for every control of every application...
At edit time, if i right-click a control and do
Advanced -> Run-time shortcut menu -> Edit...
I can see that, for example, "Copy Data" corresponds to item tag APP_SC_COPY_DATA, maybe somewhere i can redefine the default label for that item tag
02-12-2010 10:23 AM - edited 02-12-2010 10:26 AM
02-15-2010 05:01 AM
That changes the labels, but also destroys functionality of items.
You can test it easily with item 6 ("Description and tip..."); change the text and it won't show description anymore.
I also tried to change only the label with with Set Menu Item Info, but it gives error 1164 ("Cannot modify an application menu item").
02-15-2010 05:45 AM
I dont know of a way off hand how to do this. But i suppose the question is why would you want to? I believe the default runtime options are embedded into event cases etc etc and changing setting could cause all sorts of havoc. Why not create your own menu using the custom one which is similar to default but custom to your design and the save this as a type-def control (Maybey strict Type-def).
From then on in you have a control with your functionality available to hand.
Craig
02-15-2010 09:46 AM
02-15-2010 11:11 AM
The application items of the run-time shortcut menus appear localized. No need to do anything. In the build specification you can select which languages are supported, default are all supported languages.
The language of the run-time shortcut menu is defined by the regional settings of the PC. If the language defined in the regional settings is not supported it will use the default language (also specified in the build specification).
I don't know if it's possible to add languages which are not available by default.