ActiveTool: WxTool;
The ActiveTool property determines an active tool.
Executing the example requires an existing ws object of the IWxWorkspace type.
Sub UserProc;
Var
ws: IWxWorkspace;
view : IWxView;
Begin
view := ws.CreateView;
view.ActiveTool := WxTool.SelectOnly;
view.ExplorerMode := False;
End Sub UserProc;
After executing the example the SelectOnly mode is set and selection of the whole object is enabled.
See also: