Garry's Mod Wiki

DProperty Generic

Description

A base for other controls for DProperties. Acts as a generic text input on its own.

Parent

Derives from Panel.

Example

Example usage of this control

local Panel = vgui.Create( "DFrame" ) Panel:SetSize( 500, 500 ) Panel:MakePopup() local props = vgui.Create( "DProperties", Panel ) props:Dock( FILL ) local textRow = props:CreateRow( "MyCategory", "GenericTextArea" ) textRow:Setup( "Generic" ) textRow:SetValue( "test" ) textRow.DataChanged = function( self, data ) MsgN( "Text changed: ", data ) end

Page Links


Special Pages


Wikis

?

Render Time: 61ms

DB GetPage 35
Generate Html 4
SaveChanges (1) 9
Render Body 0
Render Sidebar 10