HierarchicalIndent(Kind: EaxHierarchyKind): Double;
Kind. Object (row or column), by which it is necessary to set indent interval in the drop-down hierarchy.
The HierarchicalIndent property determines interval of indent between elements of different levels of drop-down hierarchy in the express report table.
Default indent is set to 5 mm.
Sub Main;
Var
MB: IMetabase;
MObj: IMetabaseObject;
Expr: IEaxAnalyzer;
Grid: IEaxGrid;
Begin
MB := MetabaseClass.Active;
MObj := MB.ItemById("EXPRESS_REPORT").Edit;
Expr := MObj As IEaxAnalyzer;
Grid := Expr.Grid;
Grid.Hierarchical(EaxHierarchyKind.Rows) := True;
Grid.HierarchicalIndent(EaxHierarchyKind.Rows) := 10;
MObj.Save
End Sub Main;
After executing the example drop-down hierarchy by table rows is enabled. Interval between elements of different levels is set to 10. Express report identifier - EXPRESS_REPORT.
See also: