Navigation:  Classes > bBrowser >

bBrowser:ContextMenuShow()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

A callback method for displaying a context menu in the browser

Class

bBrowser

Type

Method

Syntax

<oBrowser>:ContextMenuShow(<oEvent>) Æ uResult

Arguments

<oEvent>An event containing information about the display position for the context menu.
Data Type:Event

Return Value

uResultA value that indicates whether a context menu was shown. If a context menu was displayed, the numeric value ISEXECUTED is returned. Otherwise the value NIL is returned.
Data Type:Usual

Description

bBrowser:ContextMenuShow() is a callback method that is called by the bBrowser whenever a context menu is to be displayed.

 

The method determines

1.the underlying column for the position of the mouse cursor.

2.the column area (caption, values or footer) in which the mouse cursor resides.

3.the method determines the context menu area with the method bBrowser:GetColumnContextMenu().

 

If a context menu was determined, it is displayed.

See Also

bBrowser:ContextMenuMode

bBrowser:GetColumnContextMenu()

 


Page url: http://www.YOURSERVER.com/index.html?bbrowser_contextmenushow.htm