Labels¶
If you have a button but you can create labels with
theLabel = label(but [, initialValue [, { xpos, ypos } [, { xoffset, yoffset } ]]] )
You cann change the label’s text with
theLabel.text = “new text”;
You cann change the label’s position with
theLabel.position = { xpos, ypos };
where xpos and ypos go from 0 to 1
You cann change the label’s offsets with
theLabel.offset = { xoffset, yoffset };
where xoffset and yoffset go from -1 to 1