Methods
-
-
添加数据
Parameters:
Name |
Type |
Description |
strLabel |
String
|
名称 |
strPic |
ImageProp
|
图片路径 |
Uuid |
Number
|
传入id |
-
-
按索引获取Id
Parameters:
Name |
Type |
Description |
nIndex |
Number
|
索引从0开始 |
Returns:
Number
-
-
根据Id获取索引
Parameters:
Name |
Type |
Description |
Uuid |
Number
|
|
Returns:
Number
-
-
按索引获取名称
Parameters:
Name |
Type |
Description |
nIndex |
Number
|
索引从0开始 |
Returns:
String
-
-
选中获取索引
Returns:
Number
-
-
选中获取Id
Returns:
Number
-
-
清除所有
-
-
按索引删除
Parameters:
Name |
Type |
Description |
nIndex |
Number
|
|
-
-
按索引修改Id
Parameters:
Name |
Type |
Description |
nIndex |
Number
|
索引从0开始 |
Uuid |
Number
|
|
-
-
按索引修改一项
Parameters:
Name |
Type |
Description |
nIndex |
Number
|
索引从0开始 |
strLabel |
String
|
名称 |
strPic |
ImageProp
|
图片路径 |
Uuid |
Number
|
传入Id |
-
-
设置显示个数
Parameters:
Name |
Type |
Description |
nNum |
Number
|
|
-
-
按索设置名称
Parameters:
Name |
Type |
Description |
nIndex |
Number
|
索引从0开始 |
strLabel |
String
|
名称 |
Properties:
Name |
Type |
Description |
LabelByIndex |
Collection
|
[-1,""] |
-
-
按索引设置背景图片
Parameters:
Name |
Type |
Description |
nIndex |
Number
|
索引从0开始 |
strPic |
ImageProp
|
图片路径 |
-
-
根据Id设置选中
Parameters:
Name |
Type |
Description |
Uuid |
Number
|
|
-
-
按索引设置选中
Parameters:
Name |
Type |
Description |
nIndex |
Number
|
索引从零开始 |
Properties:
Name |
Type |
Description |
SelectItemIndex |
Number
|
1 |