Garry's Mod Wiki

Panel:SetAutoDelete

  Panel:SetAutoDelete( boolean autoDelete )

Description

Sets whenever the panel should be removed if the parent was removed.

Arguments

1 boolean autoDelete
Whenever to delete if the parent was removed or not.