We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Diagram.Tool.Active not found

Thread ID:





48340 Aug 24,2006 07:06 PM UTC Aug 28,2006 10:28 AM UTC WinForms 1
Tags: Diagram
Administrator [Syncfusion]
Asked On August 24, 2006 07:06 PM UTC

Diagram control, Ver4.2.0.60, upgraded from v3.3.0.0 got error.
Any idea?

Error 15 ''Syncfusion.Windows.Forms.Diagram.Tool'' does not contain a definition for ''Active'' C:\PMA\STN.PMA.UL\frmDecisionTree.cs 2782 18 STN.PMA.UL

Tool pTool=this.diagram.Controller.GetTool("ZoomTool");
if (!pTool.Active)
Point pos=new Point(e.X,e.Y);

J.Nagarajan [Syncfusion]
Replied On August 28, 2006 10:28 AM UTC

Hi Lan,

Thanks for your interest in Syncfusion products.

The Tool.Active is no longer work for the v. can use Tool.InAction property which indicates whether the tool is currently active or not.Please refer the following code snippet

Tool pTool=this.diagram.Controller.GetTool("ZoomTool");
if (!pTool.InAction)


Please let me know if you have any questions.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon