DuCheckBox()

For use with DuAEF.DuScriptUI.
An Image Checkbox.
This is not a real class, and cannot be instanciated.
Use DuAEF.DuScriptUI.addCheckBox to create an Image Checkbox.
The Image Checkbox inherits the Group object from ScriptUI and has all of its properties and methods.

new DuCheckBox()

Properties:
Name Type Description
standardImage string The path to the image (or a PNG as a string representation)
imageOver string The path to the image (or a PNG as a string representation) to display when mouseover
imageChecked string The path to the image (or a PNG as a string representation) to display when the button is checked
image Image The scriptui object representing the image
label StaticText The label
checked boolean The checked state of the button
onClick DuCheckBox~onClick The function to execute when the button is clicked

Methods

static imageButton.setChecked(c)

Checks or unchecks the button
Parameters:
Name Type Description
c boolean The checked state

Type Definitions

onClick()

The function to execute when the button is clicked.