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.
Unfortunately, activation email could not send to your email. Please try again.

Diagram.Tool.Active not found

Thread ID:

Created:

Updated:

Platform:

Replies:

48340 Aug 24,2006 03:06 PM Aug 28,2006 06:28 AM Windows Forms 1
loading
Tags: Diagram
Administrator [Syncfusion]
Asked On August 24, 2006 03:06 PM

Hello,
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);
popDiagram.Show(this.diagram,pos);
}

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

Hi Lan,

Thanks for your interest in Syncfusion products.

The Tool.Active is no longer work for the v.4.2.0.60.You 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.

Thanks,
Nagaraj

CONFIRMATION

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.

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.

;