SetVisibilityNewWindow method: Banner class
Syntax
SetVisibilityNewWindow(Visible)
Description
Use the SetVisibilityNewWindow method to set the visibility of the New Window feature in the Actions menu. This method is ignored and has no effect in any of the following conditions:
-
If the feature is disabled in the component’s properties (Fluid tab).
-
If the user does not have permission to perform the action or access the target.
-
If the component is rendered in a context that does not allow access to the fluid banner and Actions menu (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).
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 New Window feature is visible. |
Returns
None
Example
(create PT_PAGE_UTILS:Banner()).SetVisibilityNewWindow( False);