Object Model Reference : Classes : A : Application : Properties : Application.ActiveTool |
Property ActiveTool As cdrTools
Member of Application
The ActiveTool property returns or specifies the active tool in CorelDRAW.
The following VBA example changes the active tool from the Pick tool to the Eye Dropper tool.
Sub ToolActive() |
If ActiveTool = cdrToolPick Then |
ActiveTool = cdrToolEyeDropper |
End If |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.