比如,Firefox使用按钮表示trigger,使用滑动条表示range,使用标准文件打开对话框表示upload控件。
For instance, Firefox USES a button for a trigger, a slider for a range, and a standard file open dialog box for an upload control.
切记,许多非技术用户甚至不会使用标准的“打开文件”对话框。
Remember, many nontechnical users can't even use the standard File Open dialog box.
下面清单2中的代码说明了为最终用户打开一个文件对话框所必需的对象和方法。
The code below illustrates the objects and methods necessary to open a file dialog to the end user.
应用推荐