ILanerAttributeColumn.NamingFormat

Syntax

NamingFormat: String;

Description

The NamingFormat property determines the name format of the displayed attribute.

Comments

A name is set by a string of the following pattern: <Rubr_Attr>.<Dict_Attr>, where 

For example, the time series database contains the COUNTRY attribute that refers to a dictionary. The display of the KEY attribute is set up for this dictionary.

Example

Executing the example requires a form with the following components: the Button component named Button1, the LanerBox component named LanerBox1, and the UiErAnalyzer component named UiErAnalyzer1. UiErAnalyzer1 is a data source for LanerBox1. A working area of a time series database should be loaded to UiErAnalyzer1. The database contains the COUNTRY indicators attribute that refers to a dictionary.

The example is a handler of the OnClick event for the Button1 component.

Add links to the Express, ExtCtrls, Forms, Laner, and Tab system assemblies.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    ErAn: IEaxAnalyzer;
    Laner: ILaner;
    LanerAttr: ILanerAttributeColumns;
    LanerA: ILanerAttributeColumn;
Begin
    ErAn := UiErAnalyzer1.ErAnalyzer;
    Laner := ErAn.Laner;
    Laner.BeginUpdate;
    // Display additional attribute 
    LanerAttr := Laner.AttributeColumns;
    LanerA := LanerAttr.AddByType(LnColumnType.Attribute) As ILanerAttributeColumn;
    LanerA.NamingFormat := "COUNTRY.KEY";
    Laner.EndUpdate;
End Sub Button1OnClick;

After executing the procedure the workbook displays value of the attribute that is the key of the dictionary referred to by the COUNTRY indicators attribute.

See also:

ILanerAttributeColumn