Previous Document Next Document

Object Model Reference : Classes : A : Application : Properties : Application.ActiveTool


Application.ActiveTool

Property ActiveTool As cdrTools

Description

Member of Application

The ActiveTool property returns or specifies the active tool in CorelDRAW.

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.