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

From Graal Bible
mNo edit summary
 
No edit summary
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<pre>
[[Category:Scripting Reference]]
      GuiCheckBoxCtrl (GuiButtonBaseCtrl):
Inherits [[Creation/Dev/Script/Client/GuiButtonBaseCtrl|GuiButtonBaseCtrl]].
</pre>
 
=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 00:51, 16 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";
 }