ComponentOne Sizer 8.0
Elastic-only Sizing

AutoSizeChildren = 5 - azElastHorz, 6 - azElastVert

These settings tell the Elastic to resize only child controls which are also Elastics. This is a combination of the settings described above. If all child controls are Elastics, these setting are equivalent to the Even settings. If only the top child control is an Elastic, these settings are equivalent to the Uneven settings.

You can use these settings to center clusters of controls on a form, as shown below.

The Elastic shown above has the Align property set to 2 - asBottom and the AutoSizeChildren property set to 5 -azElastHorz. It also has four children: two Elastics and two command buttons between the Elastics. When the form is resized, the Elastics are resized and push the command buttons to the center of the container.

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback