I placed an ultratabcontrol onto my form.
Next i set the ultraTabControl's TabButtonStyle property to FlatBorderless
Next i set the controls ActiveTabAppearence.ImageBackground to an image that i would like my tab to show when selected. everything works perfectly.
Lastly I set the ultraTabcontrol's Appearence.ImageBackground to an image that i would like my tab to display when the tab is not selected.
unfortunatly when i do this I end up with tabs that look perfect....but my client area of the control also has the unselected tab appearence as well. I want those two images to only be applied to the tab's, not the client area. is this a bug? have i incorrectly set values? am i missing something?
The client area should already be transparent, unless you have some sort of setting that is overriding the defaults; for example, in a new project, putting the UltraTabControl on a form would show that the BackColor is picked up from the control's parent. If you're trying to make the client area show transparent to an area that is *not* part of its parent, then this is not possible due to the way that .NET transparency works.
-Matt
sorry your absolutely correct. i got that working (thanks!) now if only i could figure out how to make the client area transparent (just the grey background, not the controls i'm placing IN the client area) and i will be all set.
at this point i kind of sound like an idiot don't i? long week just leave it at that, long week.
I tried out setting the ImageBackgroundAlpha Transparent on the ClientAreaAppearance and setting it to Opaque on the Appearance, so I'm not sure why this isn't working on your machine but the client area wasn't picking up the ImageBackground in my test. Are you sure that you were setting the correct properties?
except that has no effect, both ways i get the same effect. the tabs get the correct images but the client area ALSO gets the tab unselected image. i only want to tabs to have images.
Sorry about the delayed response. One option is to set the ImageBackgroundAlpha on the Appearance to Opaque and the ImageBackgroundAlpha of the ClientAreaAppearance to Transparent. Another option is to manually set the ImageBackground on each individual tab, but this is naturally more effort than the first option.