PercentWidth: Integer;
PercentWidth: Integer;
The PercentWidth property determines a percent of panel width.
The property is relevant, if the footnote panel is in the left or right part of the screen.
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.
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: