ShowParametersDialog(Chart: IChart; Parent: IWin32Window);
Chart - chart.
Parent - dialog box, for which this dialog box opens modally.
The ShowParametersDialog method opens the Chart Parameters dialog box for the specified chart.
Executing the example requires a regular report. The active sheet of the report contains a chart with the Chart1 identifier.
Sub ParametersDialog;
Var
Wnd: IWin32Window;
Sheet: IPrxSheet;
Chart: IChart;
Begin
Wnd := WinApplication.Instance.Windows.ForegroundWindow;
Sheet := PrxReport.ActiveReport.ActiveSheet;
Chart := (Sheet As IPrxTable).TabSheet.Objects.Object("Chart1") As IChart;
UiChartClass.ShowParametersDialog(Chart, Wnd);
End Sub ParametersDialog;
This example is a regular report macro. On executing the macro the Chart Parameters dialog box opens for the specified chart.
See also: