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
445
Tab Header Appearance
posted

Hi

I want to change the appearance of some tabs in an UltraTabControl so that header text appears greyed out. I do this by setting the Appearance.AlphaLevel to 128 and then Appearance.ForegroundAlpha = Alpha.UseAlphaLevel for appropriate tabs.

This seems to work fine until a tab is selected where these properties have been set. When that happens all other tabs seem to inherit the alpha level but I want them to retain their original normal appearance.

The attachment contains two screenshots of a tab control with 4 tabs. The appearance properties are set for just one tab (Tab3) and all looks fine when the form is first displayed or if I select any tab where the appearance is not set. The second screenshot shows that when Tab3 is selected the alpha level is also applied to all other tabs which is not what I want to see.

Any ideas what I might be doing wrong or how I can achieve desired results? Thanks.

Adrian

 

TabTest.zip
Parents
No Data
Reply
  • 44743
    posted

    Looking at the screen shot, it appears the alpha level is not only applied to the other tabs, it is applied to the entire control (the border around the control is dulled as well). It could be a bug, but without seeing the code you used to do this, it is hard to tell. I would recommend either posting the code you have used or submitting this issue to the support group: http://es.infragistics.com/gethelp.

Children