Contents

setNextState()

Sets the button to its next state.

Declaration

func setNextState()

Discussion

If the button has three states, it cycles through them in this order: on, off, mixed, on, and so forth. If the button has two states, it toggles between them.

See Also

Managing button state