Can I draw only the top border line on TabControlExt without the border line drawing on the left, right and bottom edges?
Neither BorderStyle.None nor BorderStyle.FixedSingle works in this case.
Thanks for all the great supports as always.
I basically want to draw the XP style tab without the 3D border on the left, right and bottom edges.
I tried override Draw3DBorder and draw my top border line there. However, the padding about the tab page is still there for the left, right and bottom edges. How can I get ride of the extra spacing?
Ramesh PraveenJuly 7, 2003 07:14 PM UTC
First you should derive a class from the TabRenderer3D type in Tools and override the DrawBorders method and copy over the base class code. If you look into the source (I assuming you own the source as well) then you will be able to remove the left and right drawing logic in your override.
Do let me know if you need more info.