Dialog.close

Syntax

close();

Description

The close method closes the dialog box.

Example

To execute the example, the HTML page must contain the FontDialog component named fontdialog (see Example of Creating the FontDialog Component). Add a handler of the MouseOver event:

fontdialog.MouseOver.add(function (sender, args) { fontdialog.close() });

The dialog box closes on hovering the cursor over the component tray after executing the example.

See also:

Dialog