Panel.MakePopup
From GMod Wiki
Revision as of 19:47, 29 October 2009 by Crazy Quebecer (Talk | contribs)
Function | |
Syntax | Panel:MakePopup( ) |
Description: | |
Makes the frame focusable, shows the cursor and enables keyboard input (meaning the player freezes) | |
Returns: | nil |
In Object: | Panel |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Panel.MakePopup]Panel.MakePopup [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Makes a frame |
---|---|
Used on | |
Code | local panel = vgui.Create("DFrame"); panel:SetSize( 512, 512 ); panel:MakePopup(); |
Output | You see a box in the corner of your screen and you can't move |