IDefaultBehaviour.SelectionBorderColor

Syntax

SelectionBorderColor: IGxColor;

Description

The SelectionBorderColor property determines a border color of selected cells.

Example

Add links to the Drawing, Fore, and Metabase system assemblies.

Sub UserProc;
Var
    Mb: IMetabase;
    SP: ISharedParams;
    DB: IDefaultBehaviour;
Begin
    // Current repository
    Mb := MetabaseClass.Active;
    SP := Mb.SpecialObject(MetabaseSpecialObject.SharedParams).Edit As ISharedParams;
    // Default settings
    DB := SP.DefaultBehaviour;
    // Report formatting settings
    DB.SelectionBorderColor := GxColor.FromKnownColor(GxKnownColor.OliveDrab);
    DB.SelectionColor := New GxColor.CreateARGB(655088201);
    // Save changes
    (SP As IMetabaseObject).Save;
End Sub UserProc;

After executing the example, report formatting will be changed in default repository settings.

See also:

IDefaultBehaviour