Express > Express Assembly Interfaces > IEaxAnalyzerCalendarOptions > IEaxAnalyzerCalendarOptions.Reset
Reset;
The Reset method resets all settings defined for displaying calendar dimensions of a report.
Executing the example requires a form with a button named Button1, the TabSheetBox component named TabSheetBox1, the ErAnalyzerDimPanel component named ErAnalyzerDimPanel1, and the UiErAnalyzer component named UiErAnalyzer1 that 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: