local PANEL = {} function PANEL:Paint() local backup = self:GetLabel() self:SetLabel( string.rep("*", #backup) ) derma.SkinHook( "Paint", "TextEntry", self ) self:SetLabel( backup ) return false end derma.DefineControl( "DPasswordTextEntry", "A password style text entry control", PANEL, "DTextEntry" )