项目

一般

简介

Dlg btnList » 历史记录 » 版本 7

tejie, 2025-11-19 09:22

1 4 yangdefeng
h4. _*{color:green}<btnList:*_
2
3 1 machenhe
定义tab按钮组的各种属性
4
5 6 tejie
标签:命令定义^<btnList:
6 1 machenhe
7
*格式*
8
9
|命令名 |参数1       |参数2       |参数3                |参数4                |参数5   |参数6   |参数7     |
10
|btnList|按钮列表内容|按钮列表名称|list相对于对话框X偏移|list相对于对话框Y偏移|纵横宽高|按钮字号|选中按钮id|
11
12 3 yangdefeng
-
13
-
14 1 machenhe
15 7 tejie
h4. *说明*
16 1 machenhe
17 7 tejie
|参数1|由一组[[dlg_btnItem_|btnItem]]组成的按钮列表|
18
|参数2|按钮列表名称,区分同一个界面中不同的按钮列表|
19
|参数3|列表相对于对话框的X偏移值|
20
|参数4|列表相对于对话框的Y偏移值|
21
|^.参数5|列表的显示方式与滑动设置
22
1,N &nbsp; &nbsp; 纵向列表可滑动,N为列表高度
23
1,N,1 &nbsp;纵向列表可滑动,N为列表高度
24
0,N &nbsp; &nbsp; 横向列表可滑动,N为列表宽度
25
0,N,1 &nbsp;横向列表可滑动,N为列表宽度
26
1,N,0 &nbsp;纵向列表不滑动,N为列表高度
27
0,N,0 &nbsp;横向列表不滑动,N为列表宽度|
28
|参数6|按钮字号|
29
|^.参数7|选中按钮的id
30
该按钮列表中的第几个tab按钮显示成选中状态|
31 4 yangdefeng
32
33
34 1 machenhe
-
35
-
36
37 4 yangdefeng
h4. *%{color:deepskyblue}特戒引擎脚本示例:%*
38 1 machenhe
39
*使用前提1*
40 2 yangdefeng
请开启配置开关"isUseCustomOKPanel"
41
|配置文件|...\Mir200\Tejieconfig\Tejieconfig.txt	|
42 1 machenhe
|配置节点|[tjconfig]					|
43
|配置项  |isUseCustomOkPanel=1				|
44
45
46
*使用前提2*
47 2 yangdefeng
请配置补丁资源"lc",即找到以下配置项,加入 %{color:deeppink}lc%
48
|配置文件|...\Mir200\Tejieconfig\Tejieconfig.txt	|
49 1 machenhe
|配置节点|[tjconfig]					|
50
|配置项  |patch=aa,bb,lc				|
51
52
-
53
-
54
55
bq. [<notextile>@</notextile>main]
56
#act
57
goto <notextile>@</notextile>按钮列表
58
goto <notextile>@</notextile>会员
59
&nbsp;
60
[<notextile>@</notextile>按钮列表]
61
#act
62
[[mov]] s$btnList ([[dlg_btnItem_|btnItem]]:ceye01:ceye02:1:254,150:1:-6,20:会员/<notextile>@</notextile>会员)
63
[[inc]] s$btnList (btnItem:ceye01:ceye02:2:254,150:1:-6,20:活动/<notextile>@</notextile>活动)
64
&nbsp;
65
[<notextile>@</notextile>会员]
66
#act
67
[[openMerchantBigDlg]] ok_di 4 0 0 1 0 0
68
#say
69 5 tejie
<[[dlg_panelsize_|panelSize2]]:600:650>
70 1 machenhe
<notextile><</notextile>*{color:green}btnList*:<$str(s$btnList)>:会员和活动按钮:572:75:1,600,0:30:1>
71
<[[dlg_text_|text]]:会员页面展示内容{scolor=222}:50:50>
72
&nbsp;
73
[<notextile>@</notextile>活动]
74
#act
75
openMerchantBigDlg ok_di 4 0 0 1 0 0
76
#say
77 5 tejie
<panelsize2:600:650>
78 1 machenhe
<btnList:<$str(s$btnList)>:会员和活动按钮:572:75:1,600,0:30:2>
79
<text:活动页面展示内容{scolor=254}:50:50>