ITabTableStyle.Name

Syntax

Name: String;

Description

The Name property determines the name of a style.

Comments

Any name that reflects style purpose can be specified as a value.

On working with a style that is obtained for a table of any Foresight Analytics Platform tool (analytical queries, regular reports and others), it is not allowed to use the Not applied name. This value is reserved for internal use.

Example

Executing the example requires a form, a button on this form named Button1, the component UiTabSheet named UiTabSheet1 and the component TabSheetBox.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    Range: ITabRange;
    TSheet: ITabSheet;
    TableStyles: ITabTableStyles;
    TableStyle: ITabTableStyle;
    s: String;
Begin
    TSheet := UiTabSheet1.TabSheet;
    Range := TSheet.View.Selection.Range;
    TableStyles := Range.TableStyles;
    TableStyle := TableStyles.Add;
    s := TableStyle.Name;
End Sub Button1OnClick;

After executing the example the s variable stores the name of the formatting style.

See also:

ITabTableStyle