SetVisibilityContextMenu method: Banner class
Syntax
SetVisibilityContextMenu(Visible)
Description
Use the SetVisibilityContextMenu method to set the visibility of the context menu (More Actions) feature in the fluid banner.
This method is ignored and has no effect in any of the following conditions:
-
If the component is rendered in a context that does not allow access to the fluid banner (that is, in an activity guide, in a modal window or in a modeless window, when executing as a grouplet request, or when executing as a component interface).
-
Context menu (More Actions) is not supported on small form factor devices.
Note:
Because the PT_HEADERPAGE page also performs an operation equivalent to this method in its page Activate event, you should invoke this method after that event to ensure that your changes are not overwritten.
Parameters
| Parameter | Description |
|---|---|
|
Visible |
Specifies a Boolean value indicating whether the context menu (More Actions) feature is visible. |
Returns
None
Example
(create PT_PAGE_UTILS:Banner()).SetVisibilityContextMenu( False);