User Tools

Site Tools


button

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
button [2020/12/01 10:04]
justin
button [2021/04/21 20:12] (current)
justin
Line 22: Line 22:
 **Changing a button's text:** **Changing a button's text:**
 <code bauxite> <code bauxite>
-widget["test"].element["0001"].text = "New Text"+widget["test"].element["0001"].text = "New Text";
 </code> </code>
  
 **Changing a button's image:** **Changing a button's image:**
 <code bauxite> <code bauxite>
-widget["test"].element["0001"].image = "new_image.png"+widget["test"].element["0001"].image = "new_image.png";
 </code> </code>
  
 **Changing a button's script:** **Changing a button's script:**
 <code bauxite> <code bauxite>
-widget["test"].element["0001"].script = "new_script_name"+widget["test"].element["0001"].script = "new_script_name";
 </code> </code>
  
 ~~NOTOC~~ ~~NOTOC~~
button.txt ยท Last modified: 2021/04/21 20:12 by justin