Saturday, June 30, 2012

Window Block



Previous | Page 1 of 2 | Next

Windows and Blocks

Form Builder processes many events based on blocks (and items), which can be completely independent of windows (and canvases). Keep in mind the following characteristics of windows and blocks.

Connection Between Windows and Blocks

* A window can contain multiple canvases, and multiple items can be located on a canvas.
* A block can contain multiple items, and an item is located on one and only one canvas (except for null canvas items).
* A window can contain multiple blocks, and a block can be located on several windows.
Note: In general, put blocks in separate windows. If blocks are closely related (through a foreign-key relationship), put them in the same window.

Window Activation and Block Navigation

You can use the When-Window-Activated trigger to activate another window automatically (see the Closing Windows example later in this module).

Transaction Management

During commit processing, Forms processes all base blocks in sequential order. Therefore, transaction management is block-based rather than window-based. However the user expects to interact with a form in a window-based manner.

No comments:

Post a Comment