DColumnSheet

From GMod Wiki

Revision as of 23:16, 22 September 2010 by Wizard of Ass (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Derma Control: DColumnSheet
Parent Class:Panel
Subclasses:None
Description:
Similar to the DPropertySheet but vertical.

Examples

DescriptionCreates a DFrame and a DColumnBox with 3 sheets.
Used onNewerClient.png
Code
 
local DFrame = vgui.Create("DFrame")
	DFrame:SetSize(500,500)
	DFrame:Center()
	DFrame:SetTitle("DColumnSheet test")
	DFrame:MakePopup()
	DColumnSheet = vgui.Create("DColumnSheet",DFrame)
 
	DColumnSheet:SetPos(5,25)
	DColumnSheet:SetSize(490,450)
 
	local Panel = vgui.Create("DPanel")
	DColumnSheet:AddSheet("Sheet 1",Panel,"vgui/box")
 
	local Panel2 = vgui.Create("DPanel")
	DColumnSheet:AddSheet("Sheet 2",Panel2,"vgui/box")
 
	local Panel3 = vgui.Create("DPanel")
	DColumnSheet:AddSheet("Sheet 3",Panel3,"vgui/box")
 
 
Outputdcolumnsheet.jpg


Methods

NewerClient.png DColumnSheet.AddSheet
NewerClient.png DColumnSheet.SetActiveButton

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox