Click the Add event button, and select data change as the event type, indicating that whenever the data from the property broker changes, the operations are executed.
单击addEvent按钮,然后选择DataChange作为事件类型,表示当来自属性代理的数据发生变化时,将执行相应的操作。
The trigger can be a property firing, clicking the minimal UI (for example, a button), or some other event.
通过单击最小UI(例如,按钮)或其他事件,触发可以是一种属性触发。
Events bubble up so you'll be able to catch the event and figure out which button it originated from.
事件冒泡了等,这样您就能够捕获事件,并找出它来自哪个按钮。
To keep consistent with the roles of the components involved in the solution, the RTLS provider is expected to send a "button press" event.
为使解决方案中涉及的组件的角色保持统一,RTLS提供者预计会发送一个“按钮按下”事件。
The logic for the type of button and the event handler to be invoked is contained in this method, shown in Listing 15.
被调用的按钮和事件处理程序的类型的逻辑包含在此方法中,如清单 15 所示。
In a browser, events are typically generated in response to user actions: a button fires an ONCLICK event when the user clicks.
在浏览器中,通常为响应用户操作而生成事件:当用户单击按钮时,按钮产生一个ONCLICK事件。
If you have a long-running database query for example that's triggered by a button press, you can simply increase the time paused after the button event has been issued.
如果你有一个运行时间很长的数据库查询(比如由按钮点击所触发),那么在按钮事件产生后你可以增加延迟时间。
Interpret the button press event and map it to a valid asset STATUS (more on this in the next section).
解释按钮按下事件并将其映射到一个有效的资产STATUS(下一节将详细介绍)。
Receive the button press event, along with current location information, from the RTLS provider.
从RTLS接收按钮按下事件以及当前位置信息。
Figure 18 shows the generated output initially and the output after the event has been fired by clicking the button.
图18显示最初生成的输出,以及单击按钮触发事件后的输出。
Handles the event when the OK button is clicked.
处理单击ok按钮时的事件。
For that reason, I usually activate the DataHub component only at runtime, for example in response to a Button Click event.
由于这个原因,我通常都只在运行时激活DataHub组件,例如在响应Button的Click事件时实现。
For example, a Button control contains a Click event that is raised when the Button is clicked.
比如,按钮有单击事件。
Optionally, for better usability, add the following line of code to the onclick event for the edit button.
为了获得更好的可用性,可以选择将以下代码行添加到编辑按钮的onclick事件。
In the OnClick event handler of the button, you need to write this code.
在按钮的OnClick事件处理程序中,需要写入下列代码。
You then use Dojo to associate an event handler for when the button is clicked.
然后可以使用Dojo为按钮点击关联一个事件处理函数。
The code for the Button Click event is as follows, note the use of the sensible names for the TextBox controls.
用于ButtonClick事件的代码如下,注意TextBox控件的合理名称的使用。
Notice the onClick event specified on the button.
请注意按钮上指定的onClick事件。
For example, instead of an onchange event for each edit box, use the onclick event of one button.
例如,与每一个编辑框具有一个onchange事件相反,使用一个按钮的onclick事件。
Listing 1.adding an onclick event to the user interface button.
列表1 .添加一个onclick事件到用户界面的按钮上。
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按钮上的提交事件。
On the main page, go to the onclick event for the edit button.
在主页面上,转到编辑按钮的onclick事件。
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中所看到的代码。
The example in Listing 18 shows the onclick event emitted by a button being mapped to an event handler.
清单18中的例子显示一个按钮发出的onclick事件,该事件被映射到一个事件处理程序。
This function is bound to the onclick() event of any radio button named participation_type_id.
该函数被绑定到任何名为 participation_type_id的单选按钮的onclick()事件。
So you can change the event that's run on a button: you just assign a new function to the onclick property.
因此可以改变按钮触发的事件:只要赋给onclick属性一个新的函数。
For this, I created a delegate and fire the event SearchGrid, when the search button is hit.
为此,我创建了一个委托和事件SearchGrid,搜索按钮时被击中。
If an admin event occurs (URL or button click), the admin webflow will go into the view state admin.
如果发生了一次admin事件(url或者按钮点击),那么adminwebflow将会进入到视图状态admin中。
Finally, you added an event handler to the Refresh button, which basically reloads the data from XML file whenever the button is pressed.
最后,您向Refresh按钮添加一个事件处理程序,它在按下按钮时从XML文件重新加载数据。
You explicitly do not want Real-Time Asset Locator to both interpret the button press event and create the business activity, such as create the workflow in Maximo.
您肯定不想Real - TimeAsset Locator同时解释按钮按下事件和创建业务行为,比如创建Maximo中的工作流。
应用推荐