GoDiagram Win Reference
FindMouseTool(Type,Boolean) Method

true if an instances of subclass of tooltype is acceptable
Find one of the tools used by this view that is an instance of a given tool type or of a subclass of that type.
Syntax
'Declaration
 
Public Overloads Overridable Function FindMouseTool( _
   ByVal tooltype As Type, _
   ByVal subclass As Boolean _
) As IGoTool
public virtual IGoTool FindMouseTool( 
   Type tooltype,
   bool subclass
)

Parameters

tooltype
subclass
true if an instances of subclass of tooltype is acceptable

Return Value

null if no mouse tool's type is the same or is a subclass of tooltype
Remarks
This is most useful when you want to modify one of the standard tools, typically by setting one of its properties. This method searches all of the lists of mode-less tools: MouseDownTools, MouseMoveTools, MouseUpTools. For examples, see FindMouseTool(Type).
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

GoView Class
GoView Members
Overload List
FindMouseTool(Type) Method
ReplaceMouseTool Method

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback