Dlg itemIndex » 历史记录 » 版本 2
yangdefeng, 2022-05-13 22:10
1 | 2 | yangdefeng | _*{color:green}<itemIndex:*_ |
---|---|---|---|
2 | 1 | yangdefeng | 设置多排单元组单元序号 |
3 | 配合以下单元组组件使用,放在对应单元首部 |
||
4 | [[dlg_itemGrid_|itemGrid]] |
||
5 | [[dlg_iconGrid_|iconGrid]] |
||
6 | 2 | yangdefeng | [[dlg_circleList_|circleList]] |
7 | 1 | yangdefeng | |
8 | 标签:命令定义|dlg_itemIndex |
||
9 | |||
10 | *格式* |
||
11 | 2 | yangdefeng | |_.命令名 |_.参数1 |_.参数2 | |
12 | |itemIndex|单元序号|循环列表多选命令定义| |
||
13 | 1 | yangdefeng | |
14 | - |
||
15 | - |
||
16 | |||
17 | 2 | yangdefeng | |
18 | 1 | yangdefeng | *说明* |
19 | * 参数1: 对应单元序号,正整数 |
||
20 | |||
21 | 2 | yangdefeng | * 参数2: 循环列表多选命令定义 |
22 | _举例 |
||
23 | #act |
||
24 | %{color:lightGrey};--循环列表模板 |
||
25 | ;--位置2可选命令编号1与3;位置7可选命令编号3与1;% |
||
26 | mov s$modelList (<[[<notextile>Dlg_itemModel_</notextile>|itemModel]]:3,1|3,7,1,7,1,3|1:-1,-1:450,250>) |
||
27 | |
||
28 | %{color:lightGrey};--循环列表单元1 |
||
29 | ;--位置2使用命令编号3;位置7使用命令编号1% |
||
30 | inc s$modelList (<itemIndex:1,3,1> |
||
31 | ...... |
||
32 | |
||
33 | %{color:lightGrey};--循环列表单元2 |
||
34 | ;--位置2使用命令编号1;位置7使用命令编号3% |
||
35 | inc s$modelList (<itemIndex:1,1,3>_ |
||
36 | |||
37 | 1 | yangdefeng | - |
38 | - |
||
39 | |||
40 | *%{color:deepskyblue}特戒引擎脚本示例:%* |
||
41 | |||
42 | 示例-->[[dlg_itemGrid_|itemGrid]] |
||
43 | 示例-->[[dlg_iconGrid_|iconGrid]] |
||
44 | 2 | yangdefeng | 示例-->[[dlg_circleList_|circleList]] |