NAB plug-in for MWT user guide June 21, 2006 |
Contents
![]() ![]() |
Chapter 2 Creating a Simple Application, Hello |
Allocated instances in a running application window generate events that vary depending on mouse motions and size changes made.
In this tool, a procedure that is set for an event is referred to as an event procedure.
Create an event procedure that displays "Hello!" when the button in the Hello application window is clicked.
This section explains the procedure for creating an event procedure.
Setting item |
Value |
Procedure name |
new_ep |
Function name |
btn_ep |
Trigger |
ACTIVATE |
object->setProperty(WSNlabelString,"Hello!");
If Java is the language used, add the following code in the btn_ep function:object.setProperty("labelString","Hello!");
Contents
![]() ![]() |