IsChecked
This function returns a true/false value indicating if the object is selected or not.
Function Definition:
bool IsChecked {get; set;}
. get: Permits the user to read the boolean value.
. set: Permits the user to write the boolean value.
To configure this function, follow the steps below:
1. In an object event, configure the IsChecked function: ObjectName.IsChecked;
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.IsChecked;
In this event, the GraphicObject2 will exhibit the true/false value indicating if the check-box is checked or not.
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 = true;
In this event, the GraphicObject1 will be checked.
|
Note: This property exists only to the following objects: . Button(only when is Toggle Button) |