PercentHeight: Integer;
PercentHeight: Integer;
The PercentHeight property determines the percent of panel height.
The property is relevant if the footnote panel is in the top or bottom part of the window.
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.Bottom;
FootnotePanel.PercentHeight := 15;
(Express As IMetabaseObject).Save;
End Sub UserProc;
On executing the example footnote panel location parameters will be changed: panel will be located below the table and will take 15 percents of table available 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.bdeBottom;
FootnotePanel.PercentHeight := 15;
(Express As IMetabaseObject).Save();
End Sub;
See also: