Property page

Home
Nach oben

The Listbox contains the names of the controls belonging to the SOD Control Resizer and Me as alias of SOD Control Resizer itself. SOD Control Resizer will control the behavior of the marked Controls. Having chosen a Control, you can configure its behavior under the change of the size of SOD Control Resizer. Having chosen Me, you can define the minimum and maximum size of SOD Control Resizer.

The behavior of the Controls is configured independently for horizontal (X-Freeze, X-Scale) and vertical (Y-Freeze, Y-Scale) coordinates and sizes.

Freeze Parameters:
Left: Distance between the left edge of Control and left edge of SOD Control Resizer remains constant.
Width: Width of the Control remains constant.
Right: Distance between the right edge of Control and right edge of SOD Control Resizer remains constant.
Top: Distance between the upper edge of Control and upper edge of SOD Control Resizer remains constant.
Height: Height of the Control remains constant.
Bottom: Distance between the lower edge of Control and lower edge of SOD Control Resizer remains constant.

Not more than two X-Freeze and two Y-Freeze Checkboxes can be marked simultaneously.

Scale-Parameters:

If less than two Freeze-Checkboxes are marked, the behavior of unfreezed coordinates and sizes is determinated by Scale-Parameters in the following way: the unfreezed coordinates and sizes are changed in proportion Scale/Base to the change of the size of SOD Control Resizer.

Change FontSize

If you want the control font to maintain the size proportional to the control when it's resized, mark the Change FontSize checkbox. This property is enabled only if the control support the font property.

Minimum and Maximum Width and Height:

The current sizes of SOD Control Resizer and Controls can be used as their minimum or maximum sizes. In order to do this, choose Me for SOD Control Resizer or appropriate Control in ListBox with Controls, and mark an appropriate checkbox in the section Use current Coordinate as.

Tips:
With the Freeze-Checkboxes you can choose, which one of the coordinates and sizes of controls should be frozen. For example, if you want the distance between the left and right edges of TextBox and accordingly the left and right edges of SOD Control Resizer to remain constant, and the width of the TextBox to be changed under the change of the SOD Control Resizer width, mark Left- and Right Checkbox.

The case when two of the three X-Freeze or Y-Freeze Checkboxes are marked, is most commonly used. In this case Scale-Parameters are not used. Let us take an another example: SOD Control Resizer contains two side-by-side standing ListBoxes.

The distance between the left edge of List1 and the left edge of SOD Control Resizer, the right edge of List2 and the right edge of SOD Control Resizer and the right edge of List1 and the left edge of List2 must remain constant. Under the change of SOD Control Resizer width, the width of List1 and List2 should be changed in equal proportion.

To describe this you should mark the Left-Checkbox of List1 and Right-Checkbox of List2. The value of BaseX of both Listboxes must be 2.

The value of Scale_Width of List1 must be 1. That means: if the width of SOD Control Resizer enlarges by 100 twips, then the width of List1 enlarges by 100*Scale_Width/Base_X = 100*1/2 = 50 twips.

The value Scale_Left of List2 must be 1. That means: if the width of SOD Control Resizer enlarges by 100 twips, then the distance between the left edge of List2 and left edge of SOD Control Resizer enlarges by 100*Scale_Width/Base_X = 100*1/2 = 50 twips.

Another way to configure the behavior of Controls is using of Wizard.