Purpose
Determines the context menu that is used for a column.
Class
Type
Method
Syntax
<oBrowser>:GetColumnContextMenu(
<symStyle>,
<oColumn>
) Æ oMenu
Arguments
| <symStyle> | A value that indicates whether the context menu is to be determined for the column caption, the column values or the column footer. The following values are supported: |
Value |
Description |
#Caption |
The context menu is determined for the column caption. |
#Data |
The context menu is determined for the column values. |
#Footer |
The context menu is determined for the column footer. |
| Data type: | Symbol |
| <oColumn> | The column to which the context menu is to be determined. |
| Data type: | bDataColumn |
Return Value
| oMenu | The determined context menu. |
| Data type: | Menu |
Description
If the context menu is requested for the column caption,
| 1. | it is examined whether a context menu has been defined specifically for the column caption. Ü If it is, this context menu is returned. |
| 2. | it is examined whether the browser defines a context menu for the column caption. Ü If it is, this context menu is returned. |
| 3. | it is examined whether the column defines a context menu for column values. Ü If it is, this context menu is returned. |
| 4. | it is examined whether the browser defines a context menu for column values. Ü If it is, this context menu is returned. |
| 5. | it is examined whether a general context menu (see Control:ContextMenu) is defined. Ü If it is, this context menu is returned. |
| 6. | Ü the value NULL_OBJECT is returned. |
If the context menu is requested for the column values,
| 1. | it is examined whether in the column a context menu for the column values is defined. Ü If it is, this context menu is returned. |
| 2. | it is examined whether in the browser a context menu for the column values is defined. Ü If it is, this context menu is returned. |
| 3. | it is examined whether a general context menu (see Control:ContextMenu) is defined. Ü If it is, this context menu is returned. |
| 4. | Ü the value NULL_OBJECT is returned. |
If the context menu is requested for the column footer,
| 1. | it is examined whether in the column a context menu for the column footer is defined. Ü If it is, this context menu is returned. |
| 2. | it is examined whether in the browser a context menu for the column footer is defined. Ü If it is, this context menu is returned. |
| 3. | it is examined whether in the column a context menu for the column values is defined. Ü If it is, this context menu is returned. |
| 4. | it is examined whether in the browser a context menu for the column values is defined. Ü If it is, this context menu is returned. |
| 5. | it is examined whether a general context menu (see Control:ContextMenu) is defined. Ü If it is, this context menu is returned. |
| 6. | Ü the value NULL_OBJECT is returned. |
See Also
bBrowser:IsContextMenuEnabled()
Page url: http://www.YOURSERVER.com/index.html?bbrowser_getcolumncontextmenu.htm