Category:DCheckBox

From Garry's Mod
Jump to: navigation, search

Contents

DescriptionPanelPage

The DCheckBox is a checkbox. It allows you to get a boolean value from the user (true/false - yes/no)

Inherited Functions

Inherits the following functions from DButton and its parents up to 3 levels deep:


Examples

Example

Creates a DCheckBox and sets its initial value.

local DermaCheckbox = vgui.Create("DCheckBox")// Create the checkbox
DermaCheckbox:SetPos(25, 50)// Set the position
DermaCheckbox:SetValue(0)// Initial value (will determine whether the box is ticked too)


Pages in category "DCheckBox"

The following 6 pages are in this category, out of 6 total.

Personal tools
Navigation