DFrame.SetDeleteOnClose
From GMod Wiki
| Function | |
| Syntax | DFrame:SetDeleteOnClose( Boolean delete ) |
| Description: | |
| Sets if the frame is deleted when it's closed. | |
| Returns: | nil |
| In Object: | DFrame |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=DFrame.SetDeleteOnClose]DFrame.SetDeleteOnClose [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- The default value is true.
- When it is set to false and the frame is closed, it can be "opened" again (made visible again) using Panel:SetVisible(true)