Hi guys,
I have a question thats probably pretty easy to anwer but I couldn't seem to find the answer anywhere.
We're switching to the Office2010 stye now. Since we allow every user to select the style he want's to use (e.g. office 2007) the style is set via:
Infragistics.Win.AppStyling.StyleManager.Load() when the apllication starts
but this doesn't seem to include the ribbon (toolbar). I tried to do it manually but I'm not happy with the solution. Shouldn't loading the style change the toolbar style too?
Another little issue is the Image used for the "File" Menu Item. The image is displayed in a very strange style when using the office 2010 style but since the menu is generated with an xml file and I still need the image for the office 2007 style I can't remove it. Is there an easy way to hide this image when I use the 2010 style?
And one last question: Correct me if I'm wrong but I think it's default behaviour if you use the & key in the name of a menu item the char after the & is underlined and used for the ALT+Key functionality. When i use the toolbar style office 2010 this doesn't work in win 7. On my 7 machine the & keys are displayed and the ALT+key doesn't work. In win xp this works just fine which is kinda strange.
Thanks in advance
I am in the same boat as you. I have had to do the following whenever my user selects an Office 2010 style:
1. Set the UltraToolbarsManager.Ribbon.ApplicationMenuButtonImage to NOTHING. Otherwise, the image is distorted and appears in the File menu tab area. I have to reset it when they switch back to a 2007 style.
2. Change the image I use for the app's icon. I normally use an image that is 32X32 and the app automatically scales it for me, but that doesn't seem to work under the Office 2010 style. I have to switch to something that is 16X16, but then the icon looks bad down on my taskbar. I guess I have to just live with that one for now.
Hope this helps
Rich
Office2010 uses a completely different style of Application menu. So if you set up your ApplicationMenu with tools on it, those tools will not show up in the ApplicationMenu2010 - which has it's own collection of tools and a different set of functionality.
Mike Saltzman"]Which isl file are you loading? I assume you are using our Office2010 Blue.isl? If so, then this will change the style of the toolbar and the ribbon, but you would have to set up the Office2010 Application menu in your application itself.
I use the Office2010 Blue.isl but what do I have to Set up?
Mike Saltzman"]I am not sure what you are asking here. What's "strange" about it?
Nevermind I had a little error in reasoning
Mike Saltzman"]You mean the "&" shows up as an "&" character instead of as a mnemonic underline on the following character? I tried this out, but it looks like Office 2010 style does not use mnemonics at all any more - they have been replaced by Keytips. So when I press Alt, all I see are the keytips. I don't see the ampersands. But I can't see any reason why this would have anything to do with the operating system.
I'll have a closer look on this but the exact same build shows underlinbes on XP and the "&" character on 7 Machines ...
iGod said:but this doesn't seem to include the ribbon (toolbar). I tried to do it manually but I'm not happy with the solution. Shouldn't loading the style change the toolbar style too?
Which isl file are you loading? I assume you are using our Office2010 Blue.isl? If so, then this will change the style of the toolbar and the ribbon, but you would have to set up the Office2010 Application menu in your application itself.
iGod said:Another little issue is the Image used for the "File" Menu Item. The image is displayed in a very strange style when using the office 2010 style but since the menu is generated with an xml file and I still need the image for the office 2007 style I can't remove it. Is there an easy way to hide this image when I use the 2010 style?
I am not sure what you are asking here. What's "strange" about it?
iGod said:And one last question: Correct me if I'm wrong but I think it's default behaviour if you use the & key in the name of a menu item the char after the & is underlined and used for the ALT+Key functionality. When i use the toolbar style office 2010 this doesn't work in win 7. On my 7 machine the & keys are displayed and the ALT+key doesn't work. In win xp this works just fine which is kinda strange.
You mean the "&" shows up as an "&" character instead of as a mnemonic underline on the following character? I tried this out, but it looks like Office 2010 style does not use mnemonics at all any more - they have been replaced by Keytips. So when I press Alt, all I see are the keytips. I don't see the ampersands. But I can't see any reason why this would have anything to do with the operating system.