Window.Moved

Syntax

Moved: function (sender, args);

Parameters

sender. Event source.

args. Event information.

Description

The Moved event occurs after the window is moved.

Comments

The event can occur if the EnableMove property is set to True.

Example

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:

Window