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 methods, etc not listed on this page 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