Event Bool Macro
define_bool_event
Description: |
Macro |
Identifier |
Displayed Name |
Group* |
TRUE Text |
FALSE Text |
|
Example: |
define_bool_event( |
eventButtonAState, |
"Button-A State", |
6, |
"Activated", |
"Not Activated" |
); |
*optional argument. If Group is omitted the Group-Number will default to 0.
The unique message id is derived from the row number, in source file where the macro is used.
Copy to your project:
define_bool_event(Identifier, "DisplayedName", optional_GroupNr, "TrueText", "FalseText" );
define_bool_event_id
Description: |
Macro |
Identifier |
Displayed Name |
Id |
Sub Id |
Group* |
TRUE Text |
FALSE Text |
|
Example: |
define_bool_event_id( |
eventButtonAState, |
"Button-A State", |
4, |
3, |
6, |
"Activated", |
"Not Activated" |
); |
*optional argument. If Group is omitted the Group-Number will default to 0.
Copy to your project:
define_bool_event_id(Identifier, "DisplayedName", Id, SubId, optional_GroupNr, "TrueText", "FalseText" );