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.
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);