Changing caption of application menu item
Changing caption of application menu item
Hello,
I would like to know if there is a way to change the caption of a menu item, e.g. "Save Report", of the application menu of ribbon designer via code. How can this be done?
I thank in advance for any help.
Regards
munich
I would like to know if there is a way to change the caption of a menu item, e.g. "Save Report", of the application menu of ribbon designer via code. How can this be done?
I thank in advance for any help.
Regards
munich
Changing caption of application menu item
Hello Munich,
At this moment its not possible. Please get next prerelease build (from 21 Dec). After then you can use following code:
Thank you.
At this moment its not possible. Please get next prerelease build (from 21 Dec). After then you can use following code:
Code: Select all
StiLocalization.Set("MainMenu", "menuFileReportSave", "TEST");
Changing caption of application menu item
Dear Jan,
changing the caption works fine now in the prerelease from 21st December. But now the different languages disappeared in the drop down of the user interface languages!? Only the item "Default" is in the drop down. How can I bring the languages back into the drop down?
Yours
munich
changing the caption works fine now in the prerelease from 21st December. But now the different languages disappeared in the drop down of the user interface languages!? Only the item "Default" is in the drop down. How can I bring the languages back into the drop down?
Yours
munich
Changing caption of application menu item
Hi
Please copy 'Localisation' folder with all localisation files you need into the folder with our Stimulsoft*dlls where your application stores our dlls.
This folder comes with a standard installation of our product and can be found in Demo.exe example application folder.
Thank you.
Please copy 'Localisation' folder with all localisation files you need into the folder with our Stimulsoft*dlls where your application stores our dlls.
This folder comes with a standard installation of our product and can be found in Demo.exe example application folder.
Thank you.
Changing caption of application menu item
Dear Edward,
your last advice did not help and is a little bit confusing. The problem has to do with the prerelease from 21st December. When I roll back to the originally release Reports.Net 2009.3 the problem is gone.
At the moment I work on my development machine having fully installed Reports.Net. I never had to copy the localization folder before. This is another indication that the problem might come from prerelease from 21st December.
Do you have any further advice?
Yours
munich
your last advice did not help and is a little bit confusing. The problem has to do with the prerelease from 21st December. When I roll back to the originally release Reports.Net 2009.3 the problem is gone.
At the moment I work on my development machine having fully installed Reports.Net. I never had to copy the localization folder before. This is another indication that the problem might come from prerelease from 21st December.
Do you have any further advice?
Yours
munich
Changing caption of application menu item
Hi Munich,
Sorry, the name of the folder with localization files must be 'LocaliZation' not 'LocaliSation', sorry for my mistake.
I checked this with prerelease from 21 December and language selection worked perfectly.
We did not changed the way the report engine accessing localization files
Thank you.
Sorry, the name of the folder with localization files must be 'LocaliZation' not 'LocaliSation', sorry for my mistake.
I checked this with prerelease from 21 December and language selection worked perfectly.
We did not changed the way the report engine accessing localization files
Thank you.
Changing caption of application menu item
Hello Edward,
now it works. I use a solution having two projects and at first I put the localization folder into the wrong debug directory. That was my mistake. I am sorry for that.
What still is strange to me: Why do I need to copy the localization folder into the debug directory with prerelease build from December 21st but not with original installation of 2009.3? Has this to do with the different way of installing a prerelease build compared to a regular build?
I thank you for your help and have a merry Christmas.
Yours
munich
now it works. I use a solution having two projects and at first I put the localization folder into the wrong debug directory. That was my mistake. I am sorry for that.
What still is strange to me: Why do I need to copy the localization folder into the debug directory with prerelease build from December 21st but not with original installation of 2009.3? Has this to do with the different way of installing a prerelease build compared to a regular build?
I thank you for your help and have a merry Christmas.
Yours
munich
Changing caption of application menu item
Hi
No problem.
During installation we store the localization Directory in Registry too so if you did not move the installation folder, then copying of dlls into another directory and using them there will not affect the localization files as they still will be taken from the installation path.
But in case if you deploy your application and you need to ship different localization with designer, then you need to include Localization folder and localization files along with our dlls in your application.
Merry Christmas!
Thank you.
No problem.
During installation we store the localization Directory in Registry too so if you did not move the installation folder, then copying of dlls into another directory and using them there will not affect the localization files as they still will be taken from the installation path.
But in case if you deploy your application and you need to ship different localization with designer, then you need to include Localization folder and localization files along with our dlls in your application.
Merry Christmas!
Thank you.