IWxSelectionStyle.ActiveSelectAndMovePointColor

Syntax

ActiveSelectAndMovePointColor: IGxColor;

Description

The ActiveSelectAndMovePointColor property determines color of points of selected objects when working in the selection and movement mode.

Comments

The property is relevant, if the IWxView.ActiveTool property is set to WxTool.SelectAndMove.

Example

Executing the example requires a form with the Button1 button, the WorkspaceBox component named WorkspaceBox1 and a data source for the WorkspaceBox1.

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

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    WS: IWxWorkspace;
    View: IWxView;
    Rect: IWxEllipseBaloon;
Begin
    WS := UiWorkspace1.WxWorkspace;
    WS.BeginUpdate;
    Rect := WS.CreateEllipseBaloon;
    WS.EndUpdate;
    View := WorkspaceBox1.View;
    View.ActiveTool := WxTool.SelectAndMove;
    View.SelectionStyle.ActiveSelectAndMovePointColor := GxColor.FromName("Red");
End Sub Button1OnClick;

After executing the example clicking the button enables the mode of selection and movement of workspace objects. On selection the objects are displayed as red points.

See also:

IWxSelectionStyle