Question on customizing tabs in a DPropertySheet

I have been messing around with gui more and more as its an aspect of garrysmod I love to play around with. With that being said I cant seem to figure out one main thing that has been bugging me for some time.

How do you directly edit DPropertySheet’s tabs? Just to be clear I am talking about these on a property sheet -->

I have seen people with really fancy huds and guis all of which change the look of the property sheet’s tabs and I would like to know for myself how to do this. Thanks for any and all help in advanced! + A derma skin with custom .png texture.

But don’t skins override all derma elements you skin instead of just the ‘project’ being worked on or am I mistaken?

The skin is applied to all panels you use SetSkin on. It won’t touch other panels.

Or you can paint them manually:
for k, v in pairs(PropertySheet.Items) do
if (!v.Tab) then continue end

v.Tab.Paint = function(self,w,h)
	draw.RoundedBox(0, 0, 0, w, h, Color(math.random(0,255),0,0))


Credit to brandonj4

This helped me