• 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代码结合使用。

    youdao

  • What it does do is radically change the way you program: it defines rules that make it possible to apply complex transformations to code at the click of a button.

    仅仅是从根本上改变编码方式:它定义了一些规则使得利用工具(例如点击按钮)完成代码复杂转换成为可能

    youdao

  • To add a button to point back to the main screen of the application, add the code shown in listing 3.

    添加一个按钮指向应用程序屏幕,可以添加清单3中所代码

    youdao

  • When you change your model (it happens, really), the EMF can keep the code synchronized to your model at the click of a button.

    改变模型时(这种情况真的会出现),EMF可以通过单击一个按钮,就使代码和模型保持同步

    youdao

  • As an example, the code in Listing 38 shows a button in a canvas.

    例如清单38中的代码显示画布中的一个按钮

    youdao

  • Now, look at the similar code that USES a command button, instead (Listing 2).

    现在,再看看使用命令按钮类似代码更换为(列表2)。

    youdao

  • To demonstrate this code, let's start with a class for observing button clicks that simply counts the number of clicks.

    演示部分代码我们一个观察按钮点击和记录点击数目的开始。

    youdao

  • The main code creates the GUI with a button and progress bar.

    主要代码创建带有一个按钮进度GUI

    youdao

  • Without getting too deeply into the details of the GWT widget set, this code creates a button and a label.

    段代码不会过多深入GWT部件细节,而是创建按钮标签

    youdao

  • No code is needed for a button of this type.

    此类按钮需要代码

    youdao

  • 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源代码使用命令按钮的源代码。

    youdao

  • 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样式按钮彼此相互连接。

    youdao

  • For example, if you want the progress bar to start when the user clicks a button, you can add an onclick event to the button, using the code that you see in Listing 1.

    例如如果想要这个进展用户点击按钮开始,您可以个按钮上添加一个onclick事件使用您在列表1所看到代码

    youdao

  • Similarly, to set the values for a button, you might enter the code shown in Listing 2.

    类似地设置按钮可以输入清单2中所代码

    youdao

  • You also want to supply a Cancel button with code as follows.

    还要提供一个Cancel按钮,其代码如下

    youdao

  • The RunMailRules class contains a run() method; this is where your code gets called when the button is clicked.

    RunMailRules包含一个run()方法就是单击按钮调用代码地方

    youdao

  • The code does not use the traditional onClick within the button but USES the Dojo events system to register a method to call upon loading of the page.

    代码没有按钮使用传统onClick而是使用Dojo事件系统注册一个装载页面调用方法

    youdao

  • I decided to extend the ReportViewer code that I wrote earlier and change the ReportPath property whenever the user selects a report and clicks the Go button.

    决定扩展早期编写的ReportViewer代码并且只要用户选择某个报表点击Go”按钮就更改reportpath属性

    youdao

  • The final step is to create a new web page with the code to create the form and handle the submit event on the Validate button.

    最后一步代码创建一个web页面创建表单处理Validate按钮提交事件

    youdao

  • Use this code snippet to create a button the user can press to write "Hello World!" to the debug window.

    使用代码片段创建一个按钮用户可以按下按钮Hello World !”写入调试窗口。

    youdao

  • For example, to use a button in Flex, you can code the following in MXML (Multimedia XML): <a name="code-text"><mx:Button label="Submit"mx:Button>

    例如为了Flex使用一个按钮可以 MXML(MultimediaXML)编写以下代码:<aname="code-text"><mx:Buttonlabel="Submit"

    youdao

  • Within this form are two elements: a text area provided to allow users to enter plain Scilab code for execution and a Submit button that performs the form action.

    表单内有两个元素文本区域用来供用户输入scilab代码以便执行;一个Submit按钮用来执行表单动作

    youdao

  • For a somewhat more complex example, you are encouraged to walk through the code sequence when the Dynamic button is selected in the WebView.

    对于一个稍微复杂一点例子鼓励您好好看一下dynamic按钮WebView选中代码段。

    youdao

  • If instead the preceding code did not contain line 2 and if you used a second button with an Open page simple action to go to page2, the computed field would come back empty.

    如果上述代码包含第二内容,并且使用带有简单操作Openpage第二按钮以转page2,那么computed字段返回值。

    youdao

  • When a user presses the submit button, the code placed in the onsubmit handler is executed before the form is submitted to the server.

    用户submit按钮时,向服务器提交表单之前执行onsubmit处理程序中的代码

    youdao

  • Facebook makes software code available to website publishers which allows users of the websites to share links at the click of a button on their own Facebook page.

    Facebook提供软件代码网站发布者们使网站用户可以通过点击Facebook上的页面按钮分享链接

    youdao

  • Enter a project name, select the Create new project in workspace radio button and specify the location for code with the UI elements.

    输入一个项目名称选择Createnewprojectin workspace单选按钮指定UI 元素代码位置

    youdao

  • There are three lines of code for the search: a click on the qs field, an inputChars for our search criteria, and a click on the search button.

    代码用于搜索qs点击,用于我们搜索标准inputChars以及在搜索按钮上的点击。

    youdao

  • When a user clicks on the Generate button, he is shown what his badge looks like and presented with the HTML code that he can use to paste the badge into his blog or Web site.

    用户单击Generate按钮时,显示标栏的外观呈现用于将标栏粘贴博客Web 站点HTML代码

    youdao

  • When a user clicks on the Generate button, he is shown what his badge looks like and presented with the HTML code that he can use to paste the badge into his blog or Web site.

    用户单击Generate按钮时,显示标栏的外观呈现用于将标栏粘贴博客Web 站点HTML代码

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定