DuSmallButton()

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

new DuSmallButton()

Properties:
Name Type Description
label StaticText The label
value any A user value stored in the button, which is passed to the onClick method
onClick DuSmallButton~onClick The function to execute when the button is clicked

Type Definitions

onClick(value)

The function to execute when the button is clicked.
The implementation of this function can take one parameter which is the used defined value of the button.
Parameters:
Name Type Description
value any The used defined value of the button