User Tools

Site Tools


anchor_and_grow_resize_example.htm
Navigation:  Guide to Examples >====== Anchor and Grow Resize Example ====== Previous pageReturn to chapter overviewNext page

The following example illustrates the power of using anchor and grow resizing with nested GROUP controls.

In the example window shown below:

A = Anchor G = Grow
L = Left = To Top (T)
T = Top > = To Right(R)
R = Right v = To Bottom (B)
B = Bottom <; = To Left (L)

So AL = Anchor Left, GR = Grow Right, etc.

anchorguide.jpg

This window shows a series of boxes. If the boxes share the same color, they are surrounded by a GROUP control. Each BOX and GROUP anchor setting is illustrated.

The result of these settings is that resizing this window in any direction will produce proportional resizing of all BOX controls without overlapping.

The trick to resizing a complex window similar to this one is by using the proper GROUP controls mixed with the proper anchor and grow settings.

anchor_and_grow_resize_example.htm.txt · Last modified: 2021/04/15 15:56 by 127.0.0.1