OnChartChanged(Sender: object; Args: ILanerResultsBoxChartChangedEventArgs);
Sender. Parameter returning the component that generated the event.
Args. The parameter returning the edited model.
The OnChartChanged event occurs on changing an express report chart.
To work with the LanerResultsBox development environment component, use properties and methods of the ILanerResultsBox interface.
Executing the example requires a form containing the LanerResultsBox component with the LanerResultsBox1 identifier and the UiErAnalyzer component with the UiErAnalyzer1 identifier, that is a data source for the LanerResultsBox1 component. An express report saved on the sheet with the chart must be loaded to the UiErAnalyzer1 component.
The example is a handler of the OnChartChanged event for the LanerResultsBox1 component.
Sub LanerResultsBox1OnChartChanged(Sender: Object; Args: ILanerResultsBoxChartChangedEventArgs);
Begin
text := text + "1";
End Sub LanerResultsBox1OnChartChanged;
After executing the example the 1 symbol is added after each change of the chart to the string that identifies the LanerResultsBox1 component.
See also: