Execute Touch Break Macro
\i T E B byte::field_idx
Parameter |
Type |
Range |
Description |
field_idx |
byte |
0 ... 63 |
index of the touch field (-1 = current index) |
Executes the break macro assigned to the touch field with index field_idx.
Note
- The current macro offset, prefix and suffix are taken into account (refer to Set Macro Offset, Set Macro Name Prefix, and Set Macro Name Suffix).
- If field_idx is set to 0xFF (decimal byte –1) the ‘current touch field index’ is used (refer to Touch Screen Related Commands).
- Before execution of the break macro, the cursor position is set to the upper/left corner of the corresponding touch field as it would when automatically executed. This way, one break macro can be used for multiple identical buttons, e.g. using the touch field text message for captions (refer to Draw Touch Field Text Message)
- If field_idx is out of bounds, the index has no field attached yet or the touch field indexed has no break macro assigned to, a [NACK] is sent by the iLCD Controller.
- Calling a break break is normally done automatically via the iLCD Controller when the appropriate touch field is released, but can be done via this command as well. This can be useful to draw the released state of a touch field after definition.
Example
\iTEB\10
Executes the break macro that was assigned to the touch field with index of 10.
See also:
Touch Screen Related Commands
Execute Touch Make Macro
Set Current Touch Field Index
Set Macro Offset
Set Macro Name Prefix
Set Macro Name Suffix
Copyright © demmel products gmbh. All rights reserved.