Creation/Dev/Script/Client/GuiCheckBoxCtrl: Difference between revisions
From Graal Bible
mNo edit summary |
Pooper200000 (talk | contribs) No edit summary |
||
| (5 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
[[Category:Scripting Reference]] | |||
Inherits [[Creation/Dev/Script/Client/GuiButtonBaseCtrl|GuiButtonBaseCtrl]]. | |||
=Description= | |||
[[Image:Guicontrol_check.png]] | |||
Use the ''text'' and ''checked'' variables described in [[Creation/Dev/Script/Client/GuiButtonBaseCtrl|GuiButtonBaseCtrl]] to modify this control. | |||
=Example= | |||
new GuiCheckBoxCtrl("Test_Check") { | |||
profile = GuiBlueCheckBoxProfile; | |||
x = 10; | |||
y = 10; | |||
width = 100; | |||
height = 20; | |||
text = "Checkbox"; | |||
} | |||
Latest revision as of 23:51, 15 February 2010
Inherits GuiButtonBaseCtrl.
Description
Use the text and checked variables described in GuiButtonBaseCtrl to modify this control.
Example
new GuiCheckBoxCtrl("Test_Check") {
profile = GuiBlueCheckBoxProfile;
x = 10;
y = 10;
width = 100;
height = 20;
text = "Checkbox";
}