Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
220
Changing the Toolbar Style
posted

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

Parents
No Data
Reply
  • 469350
    Offline posted

    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.

Children