Reset;
The Reset method resets all settings defined for displaying calendar dimensions of a report.
Executing the example requires a form with the button with the Button1 identifier, the TabSheetBox component with the TabSheetBox1 identifier, the component ErAnalyzerDimPanel with the ErAnalyzerDimPanel1 identifier and the UiErAnalyzer component with the UiErAnalyzer1 identifier which is a data source for both components.
Add links to the Express, Metabase system assemblies.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
CalendarOptions: IEaxAnalyzerCalendarOptions;
Begin
CalendarOptions := UiErAnalyzer1.ErAnalyzer.Options.CalendarOptions;
CalendarOptions.Reset;
ErAnalyzerDimPanel1.Refresh;
End Sub Button1OnClick;
After executing the example clicking Button1 resets all settings defined for calendar dimension displaying.
See also: