FrameColor: IGxColor;
The FrameColor property determines the frame color for the selected object.
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: