Check Box



 Checkbox is an item that represents the check state on the screen.


                               




Methods



Return Type

Method

Description

  int

getCheck()

Obtain the state of checkboxes.


setCheck( value )

Set the check state to checkboxes.


  int getCheck()

 

  getCheck obtains the state of checkboxes.


        ㆍ The result value is 0 or 1.

        ㆍ 0 (Unchecked)

        ㆍ 1 (Checked)



  Example)

   


       obj = canvas.getObject('CheckBox');  << Obtain the checkbox object.

       obj .setCheck( 2); << Set the check.




  setCheck( value:Numbers(0,1) )

 

  setCheck sets the state of checkboxes.


        ㆍ Enter 0 or 1 to value.

        ㆍ value 0 : Unchecked

        ㆍ value 1 : Checked

   


  Example)

   


       obj = canvas.getObject('CheckBox');  << Obtain the checkbox object.

       obj .setCheck( 2); << Set the check.