If an event takes arguments, you must assign values to
the arguments to be able to successfully generate events with arguments.
Procedure
- In the Events window,
click Select. The Instances Selection window
opens (see Defining breakpoints).
- Select an instance from the list, then click OK.
- Click the down-arrow to right of the Event field
to display a list of events that the object can receive and select
an event from the list.
If the event takes
arguments, they are displayed in the arguments list.
- You must assign actual values to arguments
to successfully generate events with arguments. To assign a value
to an argument, select the argument from the Arguments list,
then click Edit. The Argument Value window
opens.
- Enter a value for the argument, then click OK.
The value is displayed next to the argument in the Events window.
- Click OK.
The Events window stays open after sending the event.