GoDiagram Win Reference
CanStart Method (GoToolLinkingNew)

The user can draw a new link if the view allows it and if the port at the input event point is a valid source port or a valid destination port.
Syntax
'Declaration
 
Public Overrides Function CanStart() As Boolean
public override bool CanStart()
Remarks
This calls GoToolLinking.PickPort to find a port at the mouse down point. At least one of the IsValidFromPort and GoToolLinking.IsValidToPort predicates must be true for the linking to start. This sets OriginalStartPort property for initializing this tool before the call to Start.
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

GoToolLinkingNew Class
GoToolLinkingNew Members
Base Implementation in CanStart

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback