Garry's Mod Wiki

Garry's Mod Wiki

Description

We advise against using this. It may be changed or removed in a future update. You should use DFrame instead.

A window that in which you can place just about every other component and even another frame.

Parent

Derives methods, etc not listed on this page from Panel.

Example

Creates a simple frame that's centered.

local frame = vgui.Create("Frame") frame:SetSize( ScrW()*0.25, ScrH()*0.25 ) frame:Center() frame:SetVisible( true ) frame:MakePopup()

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...