vsTASKER 7 User Manual
×
Menu
Index

Check Box

 
 
 
A Check Box is a group of either radio buttons (only one is checked, all others unchecked) or check boxes (any can be checked or unchecked).
This Sprite does not use texture and is purely OpenGL drawn.
 
 
On the HMI grid, add a Check Box:
or
 
Give it a name, then open the property window.
 
Clean the Entries list.
Add successively the following entries:
and
Started 0
Paused 0
Stopped 1
 
to get:
 
Then, in the Runtime panel, put the following code:
 
printf("State: %d\n", getRadio());
 
Compile and run: