Hi allAttached I have a picture:First picture, selected tab is blue, other tab is black.Second picture: This is what I like to have.There should be a little line under the header. Color like selected tab. Is this possible to do with the ultraTabControl ?If yes, what settings I have to set ?Thanks and best regardsFrank Uray
Hello Frank,
Looking at your screenshot, I can think of only one way to achieve this: you could set the 'Image' property of the 'Appearance' object of the desired tab. This picture will be black and blue at the bottom.
I wanted to know if you were able to solve your issue based on these suggestions or you still need help. Please let me know.
I am checking about the progress of this issue. Please let me know If you need any further assistance on this.
Hi BorisWould it be possible for you the make a little samplebecause I am a bit lost with this. At runtime, I know all the colors.I have two additional questions to this:How can I change the height of the Tab Header ?As you can see in the attached picture, when a tab is selectedthere is a little dotted border arround the text. How can Iswitch this off ?Thanks a lot and best regardsFrank Uray
Thank you for the provided screenshots.
Regarding your first question: What you could try would be setting the BorderColor of the selected tab to a predifined color, so you would be able to differenciate the active among the others.
About the second question: Changing the header you could use the .TabSize property and set the size as you would like. For example:ultraTabControl1.TabSize = new Size(15,30);As to your third question, in order to remove the focus rectange from the control you could use a draw filter. The approach is shown in the link below:http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=4791Please feel free to let us know if you need any further assistance with this matter.
Hi DankoThanks for your answer.Well, second a third question are fine, works good.But the BorderColor is not very nice.I would like to have the same as in Visual Studio 2012 when you select the dark theme.Maybe this would be something for your next Version of this control :-)regardsFrank Uray
I am still following this forum thread.
Please feel free to let me know if you still need assistance with this matter.
Finally I did it but still 1 problem.
when i click the currently selected tab then the border location and width changes. so that i disable the selected tab which works fine.
But when focus is removed from the form and when again when focus is given to the form, border width changes in top tab and, border disappear in others tab.
I can't get, Why this happens??
(I used vertical/left tab orientation )
hello,
I'm also facing exactly same problem.
1) remove dotted rectangle
2) border on left side of the selected tab header. (tab orientation is verticle)
I'm not getting the idea of above class. how to implement that??
Thanks in advance.
Yes, the values will depend on your exact scenario and control settings. I am glad to hear that you were able to solve this!
Please feel free to let me know if a question about our tool set comes up on your mind.
drawParams.Element.Offset(0, 0); works. :-)
Thanks and best regards
Frank Uray
Could you please try to add the following line of code:
drawParams.Element.Offset(0, -4);
Between the two lines in the else clause, so it goes like this:
drawParams.Element.Rect = new System.Drawing.Rectangle(drawParams.Element.Rect.Location, new System.Drawing.Size(drawParams.Element.Rect.Width, 5)); drawParams.Element.Offset(0, -4); drawParams.Graphics.FillRectangle(new System.Drawing.SolidBrush(private_LineColor), drawParams.Element.Rect);