Child pages
  • Windows and Dialogs
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Servoy supports a wide range of Windowing options to support both the Single Document Interface as well as Multi Document Interface

Windowing is one of there area's that need to be taken into account when developing solutions for both the Smart and Web Client, as there are differences, due to limitations in browsers

Servoy provides three types of Windows:

Window

A type of Window that features a close, minimize & maximize button in the title header 

Dialog

Modal dialog

Within Servoy UI's are called Forms. Forms can be displayed in either a Window or a Dialog, or can be displayed inside container elements within other Forms.

Window vs. Dialog

A Window is different from a Dialog in that a Window supports Minimize and Maximize operations on top of the Close operation that is supported by both the Window and Dialog.

Dialogs can be either modal of non-modal/modeless, whereas Windows are always non-modal.

Dialog 

The main object involved when working with windows is the JSWindow object. Additionally there is the window plugin and the dialogs plugin.

Window Types

Parenting

Smart Client vs. Web Client

JSWindow

Dialogs vs. Window

Retrieving Window context in scripting

Dialogs

Window plugin

Single Window Interface

Multi Window Interface

Execution flow in WC

onhide event

Windowing API

application.closeAllWindows()

application.createWindow()

application.getScreenHeight

application.getScreenWidth

application.getWindow

application.isFormIndialog

application.showForm???

JSWindow

plugins.window

  • No labels