Last Updated: 5/6/2009
|Sections above here:|
Home » Development » Form Management
Sections below here:
All forms used by an IntraWeb application must be an IntraWeb-specific form. Working with IntraWeb forms differs a little bit from working with standard Delphi forms. For instance, any form that is displayed must be done using the Show method of the form. In other words modal show is not permitted or supported.
IntraWeb for Delphi
The repository contains another icon, which is the IntraWeb Form. All new IntraWeb forms should be created using File | New and choosing the IntraWeb Form. Standard Delphi forms are not compatible with IntraWeb. A new unit and form will be created and displayed on the screen.
Note: Partial Updates are scheduled to be deprecated in a future version of IntraWeb as they have been superceded in functionality with the addition of AJAX. umPartial has some features not available in AJAX, but the use of AJAX allows IntraWeb to reuse more common libraries.
Application forms have a property, called UpdateMode. Its default setting is umAll, which provides the traditional way of completely updating a page when it gets sent back to the users Web browser.
Setting UpdateMode to umPartial will cause the form to refresh ony the controls that need refreshing, this improving significantly the speed of your application, especially over slower connections. Using Partial Updates just a delta package, which reflects the changes of the current page, will be sent over the wire. Depending on the total number of controls on your page, this will majorly reduce the used bandwidth, you won't also notice any flickering during the refresh. Even better, scrollbars will keep its position.
Limitations of partial updates
The trade off are some features which won't work correctly with umPartial. Some of these limitations will be addressed in future versions of IntraWeb. All limitations listed below are for the latest IntraWeb version. Earlier versions of IW may have had more limitations.
If your form uses any of the above techniques, then either try to avoid using them or switch this specific form to umAll. Please note that you can have some forms with umAll and others with umPartial being set in the same application.
(C) 2002-2009 - Atozed Software Ltd.