You can assign event actions to objects to provide interactivity and navigation. Event actions automatically execute an operation, function, or calculation as a result of a triggering event, such as clicking the mouse. You can assign event actions to any object you create, from controls to primitives to ActiveX movies.
You create an event action by selecting an event for the object and then assigning it an action in the Object Behavior dialog box. You can also set parameters when an event occurs or combine results so that both an action is performed and a parameter is set.
Object events and actions are also listed in QMF Visionary online help reference sections.
You can specify the following actions:
You can additionally set global parameters using the Set Parameters page of the Object Behavior dialog box.
You can specify that QMF Visionary pause until the user exits the other application.
Users can enter a wormhole using the Enter Wormhole tool or by clicking the wormhole if you selected the appropriate option when you created the wormhole. However, you might want to assign this action to an object other than the wormhole.
Users can exit a wormhole using the Exit Wormhole tool. However, you might want to create a more explicit instruction and assign an event action to the object displaying the instruction, such as a Button object.
You can also save the query result in either a global or local parameter.
Users can click a button on a particular scene and have the scene printed to their printer.
You can access the Object Behavior dialog box either by double-clicking an event name in the Events page of the Object Inspector or by selecting an object in the Worlds page and clicking Edit --> Behavior. For instructions on creating event actions, see the DB2 QMF Visionary Getting Started Guide and the QMF Visionary online help.