J
Jason
I am creating my own tab control in vb.net. I am inheriting
System.Windows.Forms.TabControl. I want to provide a property that
disables or enables the focus rectangle being drawn on the tabs.
Setting the DrawMode to OwnerFixed and adding the drawing methods in
overrides OnDrawItem doesn't seem to do it. The focus rectangle is
drawn no matter what is drawn in the OnDrawItem event. How can I
prevent the focus rectangle from being drawn?
Jason
System.Windows.Forms.TabControl. I want to provide a property that
disables or enables the focus rectangle being drawn on the tabs.
Setting the DrawMode to OwnerFixed and adding the drawing methods in
overrides OnDrawItem doesn't seem to do it. The focus rectangle is
drawn no matter what is drawn in the OnDrawItem event. How can I
prevent the focus rectangle from being drawn?
Jason