ITabView.SelectionBorderColor

Syntax

SelectionBorderColor: IGxColor;

Description

The SelectionBorderColor property determines a border color of selected table cells.

Comments

When a color is determined for selected table cells using the GxColor.CreateARGB constructor, the specified color transparency degree is not taken into account.

To determine a fill color of selected table cells, use the ITabView.SelectionColor property.

Formatting parameters of selected table cells are set by default in repository settings on the Report Formatting tab or using the IDefaultBehaviour.SelectionBorderColor, IDefaultBehaviour.SelectionColor properties.

Example

Executing the example requires a form with a set of components:

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

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    Express: IEaxAnalyzer;
    Grid: IEaxGrid;
    Tab: ITabSheet;
    TabView: ITabView;
Begin
    // Get express report
    UiErAnalyzer1.Active := True;
    Express := UiErAnalyzer1.ErAnalyzer;
    // Get table
    Grid := Express.Grid;
    Tab := Grid.TabSheet;
    // Get table view
    TabView := Tab.View;
    // Set border color of selected table cells
    TabView.SelectionBorderColor := New GxColor.CreateRGB(6017020);
    // Set fill color of selected table cells
    TabView.SelectionColor := New GxColor.CreateARGB(120250505);
End Sub Button1OnClick;

Clicking the button changes formatting of selected table cells by the specified border color and fill color parameters:

See also:

ITabView