# Operating Toggle Button Controls

When you set a toggle button control to any mode other than indicator mode, you can operate it from the keyboard or with the mouse.

You can operate a toggle button control from the keyboard by pressing the <spacebar> or <Enter> key to change the state of the button.

To operate a toggle button with the mouse, click on the button to change its state.

If the control mode of the toggle button is hot or validate, a commit event is generated when the button is active and you change its state.