![]() |
Mode








Public Data Item |
Declared in: NiButton.h |
Declaration
ButtonModes Mode;
Description
Specifies how the button responds to user input. The list below includes valid values.
- CNiButton::ModeSwitchWhenPressed - when you click the mouse on the button, the value changes and remains until you click on the button again.
- CNiButton::ModeSwitchUntilReleased - when you click the mouse on the button, the value of the button changes. When you release the mouse, the value of the button changes back to its original state.
- CNiButton::ModeIndicator - the button does not respond to user input. In this mode, you are limited to changing the value programmatically.