I need to modify this tabcontrol i found online, if i change the item height, the triable does not adjust properly
The code doing the drawing is
G.SmoothingMode = SmoothingMode.HighQuality
Dim p() As Point = {New Point(ItemSize.Height - 3, GetTabRect(i).Location.Y + 20), _
New Point(ItemSize.Height + 4, GetTabRect(i).Location.Y + 14), _
New Point(ItemSize.Height + 4, GetTabRect(i).Location.Y + 28)}
G.FillPolygon(Brushes.White, p)
G.DrawPolygon(New Pen(Color.FromArgb(170, 187, 204)), p)
I have made adjustments to the line New Point(ItemSize.Height + 4, GetTabRect(i).Location.Y + 14)
without success.
i need the triangle albeit bigger and centered in the Tabpage rectangle if the size is adjusted, say by 3 points.
Any ideas
I was able to find a solution after futher tinkering