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

From Graal Bible
m (reformat)
(Added picture, description and an example script)
Line 1: Line 1:
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";
  }

Revision as of 18:44, 16 September 2006

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