Execute Touch Make Macro
\i T E M byte::field_idx
Parameter |
Type |
Range |
Description |
field_idx |
byte |
0 ... 63 |
index of the touch field (-1 = current index) |
Executes the make 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 make 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 make 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 make macro assigned to, a [NACK] is sent by the iLCD Controller.
- Calling a make macro is normally done automatically via the iLCD Controller when the appropriate touch field is pressed, but can be done via this command as well.
Example
\iTEM\35
Executes the make macro that was assigned to the touch field with index of 35.
See also:
Touch Screen Related Commands
Execute Touch Break Macro
Set Current Touch Field Index
Set Macro Offset
Set Macro Name Prefix
Set Macro Name Suffix
Copyright © demmel products gmbh. All rights reserved.