value = button.check;
button.check = value;
Gets/sets the check (for a checkbox button) or the radio (for a radio button). Setting this property is not the same as clicking on the button: although the visual aspect of the button will change, your application will not execute handlers set for click notifications. It is recommended that you use push() instead of setting this property.
button Overview | button.push | wnd.click