RemoveBtnColour()

Syntax:

RemoveBtnColour()

Remarks:

This function will remove the Button style currently applied to the specified object. The Button style’s removed will be the buttons: surface colour; Light bevel colour; Dark bevel colour; Bevel width; Bevel transparency; and Border.

There are two methods of using this function:

(i)  Specify an object name – in this method, the Button style will be removed from the Normal (i.e. default) Object State.

(ii) Specify a new object created with the GetAppearance function – in this method, the Button style is removed for the Object State of the object specified in the GetAppearance function.

Note:
The Button style can be set using the SetBtnColour function or in the Button tab of the object’s Properties dialog.

image\Script_Button.jpgExamples