IsCheckedInt

Parent Previous Next

IsCheckedInt

This function returns a true/false value indicating if the object is selected or not.


Function Definition:


            int IsCheckedInt  {get; set;}


.     get: Permits the user to read the integer value.

.     set: Permits the user to write the integer value.



There are three different values to this function:


.     0: The check-box is not selected.


.      1: The check-box is selected.


.     -1: The check-box has the value "undefined".



To configure this function, follow the steps below:


1.   In an object event, configure the IsCheckedInt function: ObjectName.IsCheckedInt;


2.   During the execution of RunTime, run the configured event.



Example Get:


In the graphic document, the user has one Check-Box object (named as GraphicObject1). In a Text-Box object (named as GraphicObject2) the user configures the MouseUp event with the following event:


GraphicObject2.Text = GraphicObject1.IsCheckedInt;


In this event, the GraphicObject2 will exhibit the -1/0/1 value indicating if the check-box is checked, unchecked or undefined.



Example Set:

In the graphic document, the user has one Check-Box object (named as GraphicObject1). In a Button object (named as GraphicObject2) the user configures the MouseUp event with the following event:


GraphicObject1.IsChecked = 1;


In this event, the GraphicObject1 will be checked.


  

 

Note: This property exists only to the following objects:

.     Check-Box