Moved: function (sender, args);
sender. Event source.
args. Event information.
The Moved event occurs after the window is moved.
The event can occur if the EnableMove property is set to True.
To execute the example, the HTML page must contain the Window component named win (see Example of Creating the Window Component). Add a handler for the Moved event:
win.Moved.add(function (sender, args) {
win.getCloseButton().setIsPressed(true);
});
After moving the window the close button is displayed as pressed.
See also: