Top  | Previous | Next

system.nav.centerWindow

Description

Given a window path, or a reference to a window itself, it will center the window. The window should be floating an non-maximized. If the window can't be found, this function will do nothing.

Syntax

system.nav.centerWindow(window)

Parameters

FPMIWindow window - A reference to the window to center.

Returns

nothing

Scope

Client

system.nav.centerWindow(windowPath)

Parameters

String windowPath - The path of the window to center.

Returns

nothing

Scope

Client

Examples

#This example centers the window named 'Overview'.
system.nav.centerWindow('Overview')

 

See also:

system.nav.openWindow