如何为一个窗体设置一个取消按钮?
击中逃命按钮当取消按钮出现。
有些屏幕只有取消按钮,而没有提示如何进一步操作。
Some screens only have cancel buttons, with no instructions on how to move forward.
取消按钮关闭该对话框,恢复所有更改。
如果屏幕上显示取消按钮,单击它以取消打印作业。
If the cancel button appears on the screen, click it to cancel the print job.
这样,解析是在单独的线程中运行的,对话框中还显示了一个取消按钮。
This way, the parsing runs in a different thread while the dialog is shown with a cancel button.
我觉得这不仅是可以接受的,也很必要为比如下载文件的过程加入取消按钮。
I presume it's not only acceptable, but also required to have a cancel button for things like downloading files?
我们将创建两个测试方法,测试确定按钮之一,是检验取消按钮等。
We are going to create two test methods, one for testing the OK button, and the other for testing the Cancel button.
编辑:点击编辑,你能够控制框中显示的信息。点击取消按钮,取消编辑。
Edit: When clicked, you can control the information displayed in the box. Click the cancel button to cancel the Edit.
点击编辑的时候,你能够控制框中显示的内容。点击取消按钮,能够取消编辑。
When clicked, you can control the information displayed in the box. Click the cancel button to cancel the Edit.
比如说,假设我们要创建一个红色的取消按钮,或者一个绿色的确定按钮,该怎么做呢?
For example, what if we want to create a red Cancel button, or a green OK button?
每当使用者按下esc键,则不管表单上的哪个控制项拥有焦点,都会按一下取消按钮。
A cancel button is clicked whenever the user presses the ESC key, regardless of which other control on the form has the focus.
我怎么可以绑定我的一个按钮控制x按钮,关闭窗口吗?我只是想创建取消按钮关闭窗口。
How I can bind one of my buttons on control to X button that closes the window? I just want to create cancel button that just closes the window.
在基于窗口环境的用户界面中,取消按钮可以让用户通过对对话框的操作,实现探索性的学习。
In window-based GUI applications, it is standard to have a Cancel button that closes any dialog box and discards any changes the user may have made within that dialog box.
在大部分网页表单中,移除重置按钮会有效提升可用性,同样的,取消按钮对网页的意义也不太大。
Most Web forms would have improved usability if the Reset button was removed. Cancel buttons are also often of little value on the Web.
在应用软件开发过程中,可视化命令执行过程的对话框里有一个取消按钮(图2所示),这是用来中止这一命令的。
In Application Developer, the progress dialog for the Visualize command has a Cancel button (Figure 2), which can be used to abort the command.
注意图24 - 5中的复制对话框还有一个取消按钮,表面上这可以满足第4个要求,即一定要有取消操作。
Notice that the copy dialog in Figure 24-5 also has a cancel button. Ostensibly, this satisfies requirement number four, that there be a way to cancel the operation.
例如,在一个典型的打印操作中,程序开始发送20页报告给打印机,同时打开带有取消按钮的打印过程对话框。
In a typical print operation, for example, an application begins sending the 20 pages of a report to the printer and simultaneously puts up a print process dialog box with a Cancel button.
许多基本单位,前面有一个报警按钮触发报警(尽管你很可能会使用你的个人报警按钮)和一个取消按钮,取消意外报警电话。
Many base units have an alarm button on the front to trigger the alarm (although you're more likely to use your personal alarm button) and a cancel button to cancel an accidental alarm call.
有些应用程序在创建的时候使用表单输入按钮,而把取消动作当成文本链接。
Some applications use the form input button for the create action, and have the cancel action as a text anchor.
如果应用程序有一个按钮用于取消某个长时间运行的操作,而您正在使用UI线程执行操作,那么这个取消事件只有到UI线程所做的操作完成后才会被处理!
If your application has a button to cancel a long-running operation but you're doing work in the UI thread, the cancellation event won't be delivered until after the operation has finished!
你可以使用视图菜单中的撤销按钮取消任何已经完成的设置,或将设置恢复成初始状态。
You can use the Undo button in the view menu to discard any changes, and reset all changed Settings back to the previous states.
取消模板选项,并点击Finish按钮(图4。)
Uncheck the template option and click the Finish button (Figure 4.)
在ImportFrom选项下,取消选中目标平台选项,然后单击Browse按钮。
Under the Import From option, deselect the target platform option, and click the Browse button.
显示/取消标签页的关闭按钮
处理enter键:取消Add按钮,通过检查textarea的onkeydown事件看看用户是否按下了Enter或return键。
Handle the Enter key: Instead of having an Add button, watch for users pressing the Enter or Return key by hooking onto the onkeydown event in the textarea.
取消选中LaunchtheFirststeps控制台按钮并单击Finish。
Uncheck the Launch the First steps console button and click Finish.
请确保第一个按钮显示:“取消订阅”?。
请确保第一个按钮显示:“取消订阅”?。
应用推荐