FootnotePanelOptions: ITabFootnotesPanelOptions;
FootnotePanelOptions: Prognoz.Platform.Interop.Tab.TabFootnotesPanelOptions;
The FootnotePanelOptions property returns location parameters of footnote panel.
Executing the example requires that the repository contains an express report with the EXPRESS_REPORT identifier.
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: