ITabFootnotesPanelOptions.PercentWidth

Fore Syntax

PercentWidth: Integer;

Fore.NET Syntax

PercentWidth: Integer;

Description

The PercentWidth property determines a percent of panel width.

Comments

The property is relevant, if the footnote panel is in the left or right part of the screen.

Fore Example

Executing the example requires that the repository contains an express report with the EXPRESS_REPORT identifier. Footnotes for data or dimension elements are added in the report table. Add links to the Express, Forms, Metabase, Tab system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    Express: IEaxAnalyzer;
    FootnotePanel: ITabFootnotesPanelOptions;
Begin
    MB := MetabaseClass.Active;
    Express := MB.ItemById("EXPRESS_REPORT").Edit As IEaxAnalyzer;
    FootnotePanel := Express.Grid.FootnotePanelOptions;
    FootnotePanel.Position := BarDockingEdge.Right;
    FootnotePanel.PercentWidth := 15;
    (Express As IMetabaseObject).Save;
End Sub UserProc;

On executing the example location settings of footnote panel will be changed: panel will be placed to the right from the table and will take 15 percents of available table area.

 Fore.NET Example

The requirements and result of the Fore.NET Example execution match with those in the Fore Example.
Imports Prognoz.Platform.Interop.Express;
Imports Prognoz.Platform.Interop.Forms;
Imports Prognoz.Platform.Interop.Metabase;
Imports Prognoz.Platform.Interop.Tab;

Public Shared Sub Main(Params: StartParams);
Var
    MB: IMetabase;
    Express: IEaxAnalyzer;
    FootnotePanel: ITabFootnotesPanelOptions;
Begin
    MB := Params.Metabase;
    Express := MB.ItemById["EXPRESS_REPORT"].Edit() As IEaxAnalyzer;
    FootnotePanel := Express.Grid.FootnotePanelOptions;
    FootnotePanel.Position := BarDockingEdge.bdeRight;
    FootnotePanel.PercentWidth := 15;
    (Express As IMetabaseObject).Save();
End Sub;

See also:

ITabFootnotesPanelOptions