The user clicks the button after updating both fields. The button code is as follows.
在更新两个字段后,用户单击按钮。
Or perhaps the application is slow whenever users click a certain button in which case you know to look directly at that button code.
或许只要用户单击特定按钮,应用程序就会慢下来,这种情况您可以直接查看该按钮代码。
In the programmer's pane, choose LotusScript, and then add the LotusScript button code in the side file, "Standard response document code example."
在编程器的面板中,选择LotusScript,然后添加“相关内容”列表里的文件“Standardresponsedocumentcodeexample”中的LotusScript按钮代码。
In such a case, you may want to have a button as in the previous section, but with the code shown in listing 4.
在此情况下,您可能希望拥有一个按钮(如前一部分中那样),但是要和清单4所示的代码结合使用。
To test your license code, click on the license icon button or on the license title to get information on what license applies.
要测试许可代码的话,请单击许可图标按钮或者单击许可标题,便可获得有关许可应用的信息。
Listing 9 shows the code for the Underline button.
清单9显示下划线格式按钮的代码。
This is the dream scenario because if we can identify a specific button, then we have a particular piece of code to examine.
这是一种想象的情形,因为如果我们可以标识出特定按钮,则需要检查特定的代码。
As an example, the code in Listing 38 shows a button in a canvas.
例如,清单38中的代码显示一个画布中的一个按钮。
Obviously, you won't want to reproduce this complex code in every script for clicking a button.
很明显,您不希望在每个脚本中为了点击按钮全部重复创建复杂的代码。
The code in Listing 17 adds the Justify Right formatting button.
清单17显示添加右对齐格式按钮的代码。
This limitation does not prevent their execution when you next click the button; it just prevents you from seeing the code.
这种限制不会阻止您再次单击该按钮时执行代码;仅仅是看不到代码。
Ok - you are done! You can now access the Ribbon and the button that you added to the Ribbon in your code.
好了,都完成了,现在已经可以使用代码来访问功能区和功能区中的按钮了。
Listing 11 shows the code to create the ordered list formatting button.
清单11显示创建有序列表格式按钮的代码。
Listing 8 shows the code for the italic formatting button.
清单8显示斜体格式按钮的代码。
Listing 7 shows the code for the boldface formatting button.
清单7显示粗体格式按钮的代码。
Listing 16 shows the code to add the Justify Center formatting button.
清单16显示添加中间对齐格式按钮的代码。
Listing 15 adds the code for the Justify Left formatting button.
清单15添加左对齐格式按钮的代码。
Listing 10 shows the code for the strike-through formatting button.
清单10显示删除线格式按钮的代码。
This way, before you hit the run button, you can be assured that your code is well-formed within the bounds of the type system.
这样,在你点击运行按钮之前,你就能确信你的代码符合类型系统的规则。
Without getting too deeply into the details of the GWT widget set, this code creates a button and a label.
这段代码将不会过多地深入GWT部件集的细节,而是创建按钮和标签。
Let's look at the JSP source code that USES a command link and compare it to the source code that USES a command button.
现在让我们来比较一下使用命令链接的JS p源代码和使用命令按钮的源代码。
You will revisit the Button setup code later in this article; for now focus on the setup of the WebView control or widget.
本文稍后还会详细介绍Button设置代码,现在将重点放在WebView控件或小部件的设置上。
The iPhone style buttons in this simple example are wired together when a user clicks a button with the code in Listing 4.
当用户使用清单4中的代码单击一个按钮时,这个简单示例中的iPhone样式按钮彼此相互连接。
Listing 14 shows the code for the Outdent formatting button.
清单14显示减少缩进(Outdent)格式按钮的代码。
The code for the Button Click event is as follows, note the use of the sensible names for the TextBox controls.
用于ButtonClick事件的代码如下,注意TextBox控件的合理名称的使用。
Similarly, to set the values for a button, you might enter the code shown in Listing 2.
类似地,要设置按钮的值,您可以输入清单2中所示的代码。
Finally, at the top of the body section, add the code to actually put the button on your user's screen.
最后,在body部分的顶部,添加代码使按钮实际显示在用户的屏幕上。
The RunMailRules class contains a run() method; this is where your code gets called when the button is clicked.
RunMailRules类包含一个run()方法;这就是单击按钮时调用代码的地方。
The CheckBox widget also covers the RadioButton widget; there is no need to import additional code for a radio button.
CheckBox 小部件还包含 RadioButton 小部件;因此不必为单选按钮导入额外的代码。
If Zenity exits with code -1, the Cancel button was clicked.
如果Zenity的退出代码是- 1,单击的是Cancel按钮。
应用推荐