Tutorial: window.disableFrame

window.disableFrame

Prevents a user from changing a window's size/position when using the window's frame.

'disabled-frame-bounds-changing' is generated at the start of and during a user move/size operation. 'disabled-frame-bounds-changed' is generated after a user move/size operation. The events provide the bounds that would have been applied if the frame was enabled.

'frame-disabled' is generated when an enabled frame becomes disabled.

Example

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

finWindow.disableFrame();