Navigation:  Classes > bBrowser >

bBrowser:EnableContextMenu()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Enables or disables the support of context menus for the areas: column captions; column values; column footer; selector column; title; record group column.

Class

bBrowser

Type

Method

Syntax

<oBrowser>:EnableContextMenu(

<lCaption>,

<lData>,

<lFooter>,

<lSelector>,

<lTitle>,

<lRecordGroup>

) Æ NIL

Arguments

<lCaption>A logical value that indicates whether a context menu for the column caption is supported.
Data Type:Logic

 

<lData>A logical value that indicates whether a context menu for the column values is supported.
Data Type:Logic

 

<lFooter>A logical value that indicates whether a context menu for the column footer is supported.
Data Type:Logic

 

<lSelector>A logical value that indicates whether a context menu for the selector column is supported.
Data Type:Logic

 

<lTitle>A logical value that indicates whether a context menu for the title is supported.
Data Type:Logic

 

<lRecordGroup>A logical value that indicates whether a context menu for the record group column is supported.
Data Type:Logic

Description

bBrowser:EnableContextMenu() enables or disables the support of context menus for the areas below:

Title

Selector Column

Column Captions

Column Values

Column Footer

Record Group Column

 

If for one of the arguments the value NIL is specified, the current context menu state for this area remains.

 

Additionally to the support of context menus in the bBrowser with the method bDataColumn:EnableContextMenu() the support of context menus for each column can be enabled or disabled.

 

With the method bBrowser:SetContextMenu() a context menu can be defined for several areas.

See Also

bBrowser:ContextMenuMode

bBrowser:ContextMenuShow()

bBrowser:GetColumnContextMenu()

bBrowser:GetContextMenu()

bBrowser:IsContextMenuEnabled()

bBrowser:SetContextMenu()

bDataColumn:EnableContextMenu()

bSample - ContextMenu

 


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