How to hide the GMod tag and close button from a Frame?

I’ve registered a new VGUI object and derived it from Frame [vgui.Register( “MyFrame”, MyFrame, “Frame” )]. My problem is that the blue GMod tag is shown on the left side and the close button is on the right side. How do I hide/remove them?

PS, I’ve also overridden the Paint function and I’m returning true. Any ideas?

vgui.Register( “somename”, PANEL, “EditablePanel”);

Well, I resorted to deriving from “Panel” and then drawing my own close button. But thanks anyway.

If you derive from panel you can’t use DTextEntry, btw.