Creation/Dev/Script/Client/GuiCheckBoxCtrl: Difference between revisions

From Graal Bible
m (reformat)
No edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:Scripting Reference]]
Inherits [[Creation/Dev/Script/Client/GuiButtonBaseCtrl|GuiButtonBaseCtrl]].
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

Guicontrol check.png

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";
 }