ITabRegion.BorderColor

Syntax

BorderColor: IGxColor;

Description

The BorderColor property determines the table region border color. By default the color is transparent.

Example

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);

Var

Range: ITabRange;

Regs: ITabRegions;

Reg: ITabRegion;

Begin

Range := UiTabSheet1.TabSheet.View.Selection.Range;

Regs := UiTabSheet1.TabSheet.Regions;

Reg := Regs.Add;

Reg.Range := Range;

Reg.Visible := True;

Reg.BackgroundColor := GxColor.FromName("Red");

Reg.BorderColor := GxColor.FromName("Blue");

End Sub Button1OnClick;

As a result in the selected table region a new region will be created, and the background of this region will be red. The region borders will be blue.

See also:

ITabRegion