![]() |



Function |
Declared in: NiButtonEvents.h |
Declaration
void OnValueChanged( BOOL Value);
Description
Generated when the value of the button changes.
Note: This event is generated if the button is in switch mode (switch value when clicked on) or in command mode (switch value until released).
Parameters
BOOL Value
Contains the current value of the button.
See Also
Example
void OnValueChanged(BOOL Value) { if (Value) { // Your event code here. } }