Garry's Mod Wiki

DProperty Boolean

Description

This is used internally - although you're able to use it you probably shouldn't.

Checkbox control for the DProperties panel.

Parent

Derives from DProperty_Generic.

Example

Example of this panel

local Panel = vgui.Create( "DFrame" ) Panel:SetSize( 500, 500 ) Panel:MakePopup() local props = vgui.Create( "DProperties", Panel ) props:Dock( FILL ) local boolRow = props:CreateRow( "MyCategory", "CheckboxExample" ) boolRow:Setup( "Boolean" ) boolRow:SetValue( true ) boolRow.DataChanged = function( self, data ) MsgN( "Data changed: ", data ) end

Page Links


Special Pages


Wikis

?

Render Time: 39ms

DB GetPage 5
Generate Html 4
SaveChanges (1) 15
Render Body 0
Render Sidebar 11