Wizard

Home
Nach oben

 

Using Wizard you can automatically configure the behavior of Controls while changing the size of SOD Control Resizer and sizes and positions of Controls belonging to it,

To use Wizard:
Press Start. The Border of SOD Control Resizer is changed into Dash. That means, that Wizard is on.
Change the size of SOD Control Resizer. After that change the sizes and positions of Controls making them suitable for the new size of SOD Control Resizer, for example:

 

In Properties->Wizard press OK

Wizard - parameters:
Inclusive the child Resizer: SOD Control Resizers contained in the configured SOD Control Resizer are configured according to their Properties.
Change the child controls: Under the change of the SOD Control Resizer size during the work of Wizard, Controls contained in SOD Control Resizer are changed according to their Freeze and Scale Properties.
Restore the size and position: After Wizard finishes its work, the previous size and position of SOD Control Resizer and controls will be restored.
Precision: During the work of Wizard, the sizes or positions of controls, given by the user, can be not exact. SOD Control Resizer can correct these errors in the following way: let’s suppose, that a new size and position of the control, given by the user, correspond to BaseX = 9, ScaleX = 4. SOD Control Resizer is seeking among the simplest possible combinations of ScaleXNew and BaseXNew such as: Abs(ScaleX/ BaseX-ScaleXNew/BaseXNew) <= Precision/100. In the given example, if Precision > 5, then ScaleXNew becomes a value 1 and BaseXNew becomes a value 2.

Tips:
Use Grid.
Change of the size of SOD Control Resizer must be large enough.
Change of the sizes and positions of Controls must be as exact as possible.
The best results can be achieved under the value of Precision between 10 and 30.