Check documentation for the latest version of dhtmlxSuite onBeforeMoveStart DHTMLX Docs

onBeforeMoveStart

fires before window moving is started

boolean onBeforeMoveStart(dhtmlXWindowsCell win);
windhtmlXWindowsCellwindow instance
boolean"return true" - allows window moving to be started, "return false" - otherwise

Example

// attach global event, it will called for all windows
myWins.attachEvent("onBeforeMoveStart", function(win){
    // your code here
    return true; // allow window moving to be started
});

Related samples

Details

win is dhtmlXWindowsCell instance, please check dhtmlXWindowsCell API for details

Change log

added in version 4.2

Back to top