Tutorial: window.updateOptions

window.updateOptions

Changes a window's options that were defined upon creation.

The argument is a windowOptions Object.

Example

var mainWindow = fin.desktop.Window.getCurrent();

mainWindow.updateOptions({
    frame: false,
    maxWidth: 500
});