Description

Home
Properties
Property page
Wizard

SOD Control Resizer is an ActiveX Control that helps you flexibly adjust the sizes and positions of controls under the change of the Form size in your Visual Basic programs.

SOD Control Resizer acts as the Control Container. In order to use SOD Control Resizer you should do the following:
Place SOD Control Resizer on the form.
Place the Controls, the sizes and position of which you wish to adjust, on SOD Control Resizer.
Configure the behavior of controls using Property Pages dialog box or Wizard.
Finally, the sizes of SOD Control Resizer must be changed under the change of the Form size. There are two ways to do this:
  1. By setting of Align property to Yes or to YesFixContainer. In this case the size of SOD Control Resizer will be automatically changed under the change of form size.
  2. By the following code:

Private Sub Form_Resize()
Resizer1.Move 0, 0, Me.ScaleWidth, Me.ScaleHeight
End Sub

Several SOD Control Resizers can be used simultaneously. For example, you can have one SOD Control Resizer, the size of which corresponds to the Form size, and several SOD Control Resizers placed on it.

See Test.vbp project in the SOD Control Resizer directory (\Program Files\SOD control resizer). This sample application shows you how to use SOD Control Resizer.