| Friendly Name | Filter |
|---|---|
| API Name | Filter |
| Type | String |
| Restrictions | |
| Get Function | (dcl-Control-GetFilter
<CONTROL>) |
| Set Function | (dcl-Control-SetFilter
<CONTROL>
NewValue [as String]) |
| Applies To | File Explorer |
filter属性用于初始化文件类型组合框中显示的文件类型列表。 过滤器字符串由字符串对组成,其中第一个字符串是显示的文件类型名称,第二个字符串是分号分隔的通配符集,用于过滤所需类型的文件。 字符串由竖线字符分隔如下:
"Type 1 Files|*.ft1;*.abc|Type 2 Files|*.ft2|"