Garry's Mod Wiki

DCheckBox:SetValue

  DCheckBox:SetValue( boolean checked )

Description

Sets the checked state of the checkbox, and calls the checkbox's DCheckBox:OnChange and Panel:ConVarChanged methods.

Arguments

1 boolean checked
Whether the box should be checked or not.