Button
A Button is a control that performs an action or toggles a state when pressed. The Design tab styles the selected Button on a Control Panel. The sections appear top to bottom in the Modifier Panel.

Change Control Type
See Common Controls.
Alignment
See Common Controls.
Layer Order
See Common Controls.
Transform
See Common Controls.
Theme
See Common Controls.
Shape
See Common Controls.
Function Type
The Function Type section sets how the button behaves when it is pressed. Choose one from the Type dropdown:
- Latched — Each press toggles the button between its two states. The button stays in its new state until it is pressed again.
- Momentary — The button is on only while it is held down, and turns off when it is released.
- Trigger — Each press fires a single action, such as running a script or driving an Interface Module. The button does not stay on; it flashes briefly to confirm the press and otherwise always shows its state 1 appearance.
For a button mapped to a module parameter, the function type is set by that parameter and is shown read-only. For example, a button mapped to one of the Panner's L, C, or R buttons shows Trigger.
Tip
The Trigger option was added in 1.1.0. Buttons created in earlier versions of Cognio keep their behavior: a button that had the old Momentary checkbox selected is set to Momentary, and any other button is set to Latched.
State
See Common Controls. A Trigger button always shows its state 1 appearance, apart from the brief flash when it is pressed.
Appearance
See Common Controls.

Text and Icon
The Text and Icon section sets the text, the icon, or both shown on the button. Select the checkbox to show them. See Common Controls for the full list of properties.
On the Button, Text and Icon settings are held separately for each state, so the button can show different text or a different icon when it is on. Use the State selector to choose which state you are styling, or select 1|2 to change both states at once.
Label
See Common Controls.
