Garry's Mod Wiki

Revision Difference

DFrame:OnClose#530580

<function name="OnClose" parent="DFrame" type="panelfunc"> <ispanel>yes</ispanel> <description> Called when the DFrame is closed with <page>DFrame:Close</page>. This applies when the `close` button in the DFrame's control box is clicked. ⤶ This function is does nothing and is safe to override.⤶ This is **not** called when the DFrame is removed with <page>Panel:Remove</page>. </description> <realm>Client</realm> <file line="101-L102">lua/vgui/dframe.lua</file>⤶ </function>