GetTextObject()

Syntax:

GetTextObject()

Return:

A reference to the text object that contains the button's label.

Remarks:

This function gets a reference to the text object that contains the button's label.

Note:

It is not possible to permanently change the text on a button using this object, as the text is replaced whenever th mouse is passed over the button. To replace text on a button at run-time, use a variable as the button text and change the variable contents.

image\Script_Button.jpgExamples