IWxSelectionStyle.FrameVisible

Syntax

FrameVisible: Boolean;

Description

The FrameVisible property determines whether a frame for the selected object is displayed. If the property is set to True, the frame is displayed, if it is set to False, the frame is not displayed.

The default property value is True.

Example

Executing the example requires an existing ws object of the IWxWorkspace type.

Sub UserProc;

Var

ws: IWxWorkspace;

view : IWxView;

SStyle : IWxSelectionStyle;

Begin

view := ws.CreateView;

SStyle := view.SelectionStyle;

SStyle.FrameVisible := True;

SStyle.FrameColor := GxColor.FromName("Yellow");

End Sub UserProc;

After executing the example the selected object in a workspace has a yellow frame displayed.

See also:

IWxSelectionStyle