IWxSelectionStyle.GroupFrameColor

Syntax

GroupFrameColor: IGxColor;

Description

The GroupFrameColor property determines the frame color for the selected group.

Example

Executing the example requires that the repository contains a workspace with the WSP identifier.

Add links to the Andy, Drawing, Metabase, Workspace system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    Wsp: IWxWorkspace;
    View: IWxView;
    SStyle: IWxSelectionStyle;
Begin
    MB := MetabaseClass.Active;
    // Get workspace
    Wsp := MB.ItemById("WSP").Edit As IWxWorkspace;
    View := Wsp.CreateView;
    SStyle := view.SelectionStyle;
    SStyle.GroupFrameVisible := True;
    SStyle.GroupFrameColor := New GxColor.CreateRGB(1200120);
    // Save changes
    (Wsp As IMetabaseObject).Save;
End Sub UserProc;

After executing the example a frame of the defined color is displayed for the selected object group in a workspace.

See also:

IWxSelectionStyle