I am using an UltraTabbedMdiManager to allow users to switch between regular MDI and Tabbed MDI.I also use the UltraFormManager to customize my form captions - including the MDI children.
Normally (for other style sets) I have no problem making this look good.In one case however I display a blue background for active child form captions, and for the back color of the tabbed MDI Tab area, but use a grey back color for inactive child form captions.In this case I have 2 problems:
When using normal MDI mode - On the MDIChild form captions I can get the buttons to blend in with the caption background only if I set the UltraFormManager.Style to Office2010. But that does not display the buttons unless the form has focus. If I change the style to Office2013 then the buttons are always displayed - but they are also always Blue.[There is no way to set different colors for Active / Inactive states, and Transparent does not seem to work]
When using tabbed MDI mode - I can't get the buttons on the tabbed area to 'blend in' with the background.I tried to set both the back color and border color of the buttons to Transparent so that they would adopt the color of the caption/tab area background but this is ignored. They are always painted as 'normal' buttons.
I am assuming there is a Style, DisplayStyle, ViewStyle or some such that i have not found yet that will tell it to pay attention to the colors I set but i can't find it.Or maybe ResolutionOrder would help.
Any ideas would be appreciated.
ThanksMike
Hello Mike,
I’ve tried to reproduce this issue on my side, please see attached sample, and I am not sure if I understand your issue completely. What do you mean by buttons don’t “blend in”? From your response it seems that you are using *.isl to style your form, so it seems that without this isl I cannot reproduce this issue, so could you please attach this isl in order to be able to test it. Also please review my sample and let me know if it reproduce your issue without applied *.isl.
Once I have this additional information, I will be glad to further investigate this issue for you.
I am waiting for your response.
Yes we provide about 7 or 8 isl files for our app. all except this one are working as we want.
When I say 'blend in' I mean the button should not look like a button. It should just appear as a white X on the Blue or Pale Gray background of the tab.It should not look like a button until the user mouses over it.
Using the attached file the button blends into the active tab but has a pale gray background [therefore looking like a button] on those tabs that are not active. [They have the blue background]
Pale grey background is the normal color of my buttons.I have overriden the Ribbon/UltraForm/DockPane CaptionButtons to have either a transparent background or to have our blue color, and that works file. But I can't find an override to set the TabbedMDICloseButton to Transparent.
You can also see that I had to set the UltraFormManager.Style to Office2010 in order to make them blend into the caption when using standard MDI windows.(Using Office2013 caused the background to remain blue when the form does not have focus. But Office2010 makes the buttons dissapear when it doesn't have focus - which a lot of users dont like.)