IEaxAnalyzerOptions.CalendarOptions

Fore Syntax

CalendarOptions: IEaxAnalyzerCalendarOptions;

Fore.NET Syntax

CalendarOptions: Prognoz.Platform.Interop.Express.IEaxAnalyzerCalendarOptions;

Description

The CalendarOptions property returns settings for parameters of displaying report calendars.

 Fore Example

Executing the example requires a form, a button named Button1 positioned on this form, the TabSheetBox1 and ErAnalyzerDimPanel1 components, and the UiErAnalyzer1 component used as data source for these components.

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 clicking the Button1 shows periods for calendar.

 Fore.NET Example

Executing the example requires a form, a button named Button1 positioned on this form, the TabSheetBoxNet1 and ErAnalyzerDimPanelNet1 components, and the UiErAnalyzerNet1 component used as data source for these components.

Imports Prognoz.Platform.Interop.Metabase;
Imports Prognoz.Platform.Interop.Express;
...

Private Sub button1_Click(sender: System.Object; e: System.EventArgs);
Var
    CalendarOptions: IEaxAnalyzerCalendarOptions;
Begin
    CalendarOptions := UiErAnalyzerNet1.AnalyzerUi.ErAnalyzer.Options.CalendarOptions;
    CalendarOptions.ShowPeriod[41950] := True;
End Sub;

After executing the example clicking the Button1 shows periods for calendar.

See also:

IEaxAnalyzerOptions