11-18-2008 07:56 AM
If I create a button within the UIR of the CVI Test Executive with a name that matches any of the menu items of the User Interface ( File, View, Execute etc ) then my button text is replaced by the programming equivalent of the Menu item
e.g.
I want a button with the text 'VIEW' in it
when executed the button displays '&View' (I take it the ampersand is for the underscore under the V)
I'm not sure if this is a TestStand or CVI problem. (It doesn't occur on ALL of the systems I have, with the same distribution of Test Exec but that could be differences in the CVI RTE...)
Using TestStand 4.0
and problem occurs with CVI 8.0.1 & 8.5
I've tried this by creating a button 'VIEW' on the 'out the box' CVI Test Executive UIR and it converts it to '&View'
I can get round the problem by putting a space on either side of the button and the button is displayed as 'VIEW' as I'd like.
Just thought you might like to know....
11-25-2008 04:24 AM
Hi Brian,
Many thanks for pointing this out. I shall make our R&D team aware of this and also file a Corrective Action Request.
Regards,
12-11-2008 03:33 AM
Hi Brian,
Just a follow up on the issue you reported. I filed this as a Corrective Action Request, and they came back as saying it is not a bug as such, but a localisation issue. The UI localizes the text on all the controls for foreign language support. This happens when the UI calls ApplicationMgr.LocalizeAllControls. If you want "VIEW" to show up on the button, you would need to edit the appropriate language file, in this case UIControlOperatorInterfaceStrings.ini, and make an entry for "VIEW".
A Corrective Action Request has been filed to review the documentation within Teststand to make it clearer about this functionality.
I hope this helps.
Regards,
12-11-2008 05:10 AM
Mike,
Many thanks for looking into this for me. It's a lot clearer now!
Regards,
Brian