Lingo Dictionary > A-C > buttonType |  |

buttonType

Syntax

    member(whichCastMember).buttonType
    the buttonType of member whichCastMember

Description

Button cast member property; indicates the specified button cast member's type. Possible values are `#pushButton, #checkBox`, and `#radioButton`. This property applies only to buttons created with the button tool in the Tool palette.

Example

This statement makes the button cast member Editorial a check box.

Dot syntax:

    member("Editorial").buttonType = #checkBox

Verbose syntax:

    set the buttonType of member "Editorial" to #checkBox