IWinApplicationClass.ApplicationSettings

Fore Syntax

ApplicationSettings: IWinApplicationSettings;

Fore.NET Syntax

ApplicationSettings: Prognoz.Platform.Interop.Ui.IWinApplicationSettings;

Description

The ApplicationSettings property returns formatting settings used in the current application.

NOTE. Formatting settings can be changed only in PROGNOZ 5 versions. Foresight Analytics Platform uses a predefined formatting scheme, formatting settings are read-only.

Fore Example

Sub UserProc;
Var
    Settings: IWinApplicationSettings;
Begin
    Settings := WinApplication.ApplicationSettings;
    Settings.TabStyles := WindowTabStyle.Chamfered;
    Settings.Theme := ApplicationTheme.VisualStudio2010;
End Sub UserProc;

After executing the example application formatting theme changes.

Fore.NET Example

The example is an entry point of a .NET assembly.

Imports Prognoz.Platform.Interop.Ui;

Public Shared Sub Main(Params: StartParams);
Var
    WinAppCls: WinApplicationClass = New WinApplicationClassClass();
    Settings: IWinApplicationSettings;
Begin
    Settings := WinAppCls.ApplicationSettings;
    Settings.TabStyles := WindowTabStyle.wtsChamfered;
    Settings.Theme := ApplicationTheme.atVisualStudio2010;
End Sub;

After executing the example application formatting theme changes.

See also:

IWinApplicationClass