Show contents 

Express > Express Assembly Interfaces > IEaxGrid > IEaxGrid.HeaderTitle

IEaxGrid.HeaderTitle

Syntax

HeaderTitle: String;

Description

The HeaderTitle property determines corner header text.

Comments

Text may be custom. One should use the IEaxGrid.HeaderTitleType property with the EaxHeaderTitleType.Custom value for custom text in corner header.

Example

Executing the example requires that the repository contains an express report with the EXPRESS_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:

IEaxGrid