Skip to main content
Version: 8.1

system.nav.closeParentWindow

This function is used in Python Scripting.

Description​

Closes the parent window given a component event object.

Client Permission Restrictions​

This scripting function has no Client Permission restrictions.

Syntax​

system.nav.closeParentWindow(event)

Parameters​

TypeParameterDescription
EventObjecteventA component event object. The enclosing window for the component will be closed. Refer to EventObject.

Returns​

Nothing

Scope​

Vision Client

Code Examples​

Example #1
# This code would be placed in the actionPerformed event of a button, 
# and would close the window that contained the button.
system.nav.closeParentWindow(event)

Keywords​

system nav closeParentWindow, nav.closeParentWindow