GoDiagram Web Reference
GetContextMenu Method (GoObject)

may be null
Called to get a GoContextMenu to display for this object.
Syntax
'Declaration
 
Public Overridable Function GetContextMenu( _
   ByVal view As GoView _
) As GoContextMenu
public virtual GoContextMenu GetContextMenu( 
   GoView view
)

Parameters

view
may be null

Return Value

a GoContextMenu, or null to indicate no context menu for this object.
Remarks
By default this just returns null. A non-null value indicates this object has handled the standard context click event and thus that the calling view need not continue calling this method up the chain of parents. Current this is used by BuildContextMenuSearchArray to get any context menus for all of the objects that are visible in the GoView.
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

GoObject Class
GoObject Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback