Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
manual:chapter7:custmenu [2021/10/12 14:34] jojo1973 |
manual:chapter7:custmenu [2021/10/12 15:26] jojo1973 [The menu structure] |
||
---|---|---|---|
Line 62: | Line 62: | ||
=== The ACTION object === | === The ACTION object === | ||
- | The ''< | + | The ''< |
* A **command** or **operator** will be '' | * A **command** or **operator** will be '' | ||
Line 123: | Line 123: | ||
---- | ---- | ||
- | ==== An example: 3-levels menu template ==== | + | ==== Example: a 3-levels menu template ==== |
+ | The following programs build a 3-levels menu: the resulting program is just an empty shell, but demonstrates effectively the following techniques: | ||
+ | |||
+ | * menu concatenation; | ||
+ | * use of decorations; | ||
+ | * folding and unfolding of third level menu in the secondary area; | ||
+ | * works correctly whether the active area is in **MENU 1** or **MENU 2**. | ||
+ | |||
+ | ---- | ||
+ | |||
+ | **__Program__** '' | ||
+ | < | ||
+ | { | ||
+ | { { " | ||
+ | { { " | ||
+ | { { " | ||
+ | { "" | ||
+ | { "" | ||
+ | { { " | ||
+ | } | ||
+ | </ | ||
+ | * The '' | ||
+ | * '' | ||
+ | * filler softkeys have neither ''< | ||
+ | * '' | ||
+ | |||
+ | ---- | ||
+ | |||
+ | **__Program__** '' | ||
+ | < | ||
+ | { | ||
+ | { { " | ||
+ | { { " | ||
+ | { { " | ||
+ | { "" | ||
+ | { "" | ||
+ | { " | ||
+ | } | ||
+ | </ | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | ---- | ||
+ | |||
+ | **__Program__** '' | ||
+ | < | ||
+ | { | ||
+ | { " | ||
+ | { " | ||
+ | { " | ||
+ | { "" | ||
+ | { "" | ||
+ | { " | ||
+ | } | ||
+ | </ | ||
+ | * '' | ||
+ | |||
+ | ---- | ||
+ | |||
+ | **__Program__** '' | ||
+ | < | ||
+ | « | ||
+ | { } TMENULST | ||
+ | { } TMENUOTHR | ||
+ | L1 TMENU | ||
+ | » | ||
+ | </ | ||
+ | * The first two lines clean both menus and the third displays the top level menu on the active area. From now on all the execution happens between the menus; | ||
+ | * If flag [[manual: |