CalendarOptions: IEaxAnalyzerCalendarOptions;
The CalendarOptions property returns settings for parameters of displaying report calendars.
Executing the example requires a form, a button named Button1 on the form, the TabSheetBox1 and ErAnalyzerDimPanel1, and the UiErAnalyzer1 component used as a data source for these components. An express report should be connected to the UiErAnalyzer1 component.
The example is a handler of the OnClick event for a button.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
CalendarOptions: IEaxAnalyzerCalendarOptions;
Begin
CalendarOptions := UiErAnalyzer1.ErAnalyzer.Options.CalendarOptions;
CalendarOptions.ShowPeriod(41950) := True;
End Sub Button1OnClick;
After executing the example, periods are displayed for the calendar.
See also: