GoDiagram Win Reference
GoToolAction Class
Members 

This modeless tool is used to handle objects like buttons or knobs that implement the IGoActionObject interface.
Syntax
'Declaration
 
<SerializableAttribute()>
Public Class GoToolAction 
   Inherits GoTool
   Implements IGoTool 
[SerializableAttribute()]
public class GoToolAction : GoTool, IGoTool  
Remarks

An instance of this tool is the first tool in the default GoView's GoView.MouseDownTools list.

A mouse down activates the IGoActionObject under that mouse point. The object can use the setting of the IGoActionObject.ActionActivated property to true to render differently. For example, a GoButton will appear "pressed".

A mouse move will invoke IGoActionObject.OnActionAdjusted. The object can use this notificaton to track the user's mouse in adjusting the state of the object. For example, a knob's direction and value can follow the mouse over a range of values.

A mouse up will invoke IGoActionObject.OnAction. The object can use this notification to perform some action. A button can actually do some work; a knob could actually set the new value in the document.

Inheritance Hierarchy

System.Object
   Northwoods.Go.GoTool
      Northwoods.Go.GoToolAction

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoToolAction Members
Northwoods.Go Namespace

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback