Anchors and Aligns
Aligns versus Alignments
Aligns are very powerful feature of IntraWeb that are quite unique. Aligns are different than simple alignments. Alignments refer to properties such as Left, Center, and Right which apply to an individual element and align it with in its own positional area. IntraWeb also supports alignments on labels, edit boxes, and other controls.
| Simple Alignment |
| Left |
| Center |
| Right |
Aligns
Aligns refer to a feature which is normally used with larger (Grids, images, etc) or container controls (Regions, Frames) and allow pages to be designed that react to different screen sizes, and dynamic resizing of the browser window by the user. .Net users may be familiar with the Dock property in Winforms, which is very similar to IntraWeb's align feature.
Anchors
Anchors allow controls to be anchored, or attached to the sides of a page. When controls are anchored, they can grow or shrink with the page. Anchors can be set to a combination of left, top, right, and bottom for various effects.
Demonstration
Here is an advanced demonstration of both aligns and anchors. As you can see, the controls automatically adjust to the resizing of the form. No user code has been written to resize the controls. IntraWeb resizes and repositions the controls in the browser automatically and dynamically. To do this without these features would require advanced use of Javascript, or tables in simpler cases. With IntraWeb, knowledge of neither is required.
|