Garry's Mod Wiki

DFrame:SetDeleteOnClose

  DFrame:SetDeleteOnClose( boolean shouldDelete )

Description

Determines whether or not the DFrame is removed when it is closed with DFrame:Close.

Arguments

1 boolean shouldDelete
Whether or not to delete the frame on close. This is true by default.