close();
The close method closes the dialog box.
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: