HeaderTitle: String;
The HeaderTitle property determines corner header text.
Text may be custom. The IEaxGrid.HeaderTitleType property with the EaxHeaderTitleType.Custom value must be used for a custom corner header text.
Executing the example requires that the repository contains an express report with the EXP_REPORT_HT identifier.
Add links to the Express, Metabase system assemblies.
Sub UserProc;
Var
MB: IMetabase;
MObj: IMetabaseObject;
Expr: IEaxAnalyzer;
Grid: IEaxGrid;
Begin
// Get current repository
mb := MetabaseClass.Active;
// Get express report
MObj := mb.ItemById("EXP_REPORT_HT").Edit;
Expr := MObj As IEaxAnalyzer;
// Get table
Grid := Expr.Grid;
// Set table corner text
Grid.HeaderTitleType := EaxHeaderTitleType.Custom;
Grid.HeaderTitle := "Custom text";
// Save report
MObj.Save;
End Sub UserProc;
After executing the example a custom text is set in the express report corner.
See also: