| Visual Basic (Declaration) | |
|---|---|
Public Event ScriptChanged As ScriptChangedEventHandler | |
| C# | |
|---|---|
public event ScriptChangedEventHandler ScriptChanged | |
The event handler receives an argument of type ScripEditorEventArgs containing data related to this event. The following ScripEditorEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| NewValue | Returns a string containing the changed script. |
| OldValue | Returns a string containing the old script prior to the change. |
This event is raised when the user switches from the Design view to the Script view of the report. It is not raised by changes to the script.