setColor()
Set the button's color.
Parameters
Once an object button has been created, you can use the following function:
button.setColor(color)
| Parameter | Type | Default | Description |
|---|---|---|---|
color |
Color |
required | The new button color. |
Set the button's color.
Once an object button has been created, you can use the following function:
button.setColor(color)
| Parameter | Type | Default | Description |
|---|---|---|---|
color |
Color |
required | The new button color. |