Jetter AG
Programming | 8
User Manual – JetViewMobile 205
32
8.4.2 Programming example for list editor
This example contains a list with 5 navigable lines: the active line ±2 relative po-
sitions. Navigation by ±5 lines is possible.
The scrollbar consists of two linear bar graphs with one superimposed on the
other.
Keys
X
(key code 36) and
OK
(key code 35) are defined as buttons.
Fig. 9: Programming example for list editor
8.4.3 Programming example for string editor
The example shows a keyboard assignment. A letter is assigned to each key
based on the following formula:
ObjectID = 256 + ASCII code of the respective letter.
Example:
The letter A has ASCII code 65. Therefore:
256 + 65 = 321
Fig. 10: Programming example for string editor
The object ID of the string editor is 1037.
The object ID of the editor field (rectangle object) is 200. The ID of the editor field
content is stored in the value of object ID 65000, a string variable.