Navigation:  Classes > bDataColumn >

bDataColumn:EnableContextMenu()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Enables or disables the support of context menus for the areas column caption, column values and column footer.

Class

bDataColumn

Type

Method

Syntax

<oDataColumn>:EnableContextMenu(

<lCaption>,

<lData>,

<lFooter>

) Æ 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

Description

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

Column Captions
Column Values
Column Footer

 

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 column, with the method bBrowser:EnableContextMenu() the support of context menus for all columns in the bBrowser can be enabled or disabled.

 

With the method bDataColumn:SetContextMenu() context menus for several areas can be defined.

See Also

bBrowser:EnableContextMenu()

bDataColumn:GetContextMenu()

bDataColumn:IsContextMenuEnabled()

bDataColumn:SetContextMenu()

 


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