GoDiagram Web Reference
DoContextClick Method

Perform the behavior that normally occurs upon a context click.
Syntax
'Declaration
 
Public Overridable Function DoContextClick( _
   ByVal evt As GoInputEventArgs _
) As Boolean
public virtual bool DoContextClick( 
   GoInputEventArgs evt
)

Parameters

evt

Return Value

true if the context click occured on a document object whose GoObject.OnContextClick method returned true
Remarks

By default this picks the document object at the event's GoInputEventArgs.DocPoint. If an object is found, it raises the ObjectContextClicked event and calls GoObject.OnContextClick on the object and on its Parents (if any) until it returns true.

If no object is found at the event's point, it raises the BackgroundContextClicked event.

This is normally called from a context mouse button handling tool.

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

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback