What methods are used to get and set the text label displayed by a Button object

GetLabel() and setLabel()

Showing Answers 1 - 1 of 1 Answers

To set the text label displayed by a Button object we use the method "button.setLabel(label).
To get the text label displayed by a Button object we use the method "button.getLabel().

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions