Automatically Resize Controls in a Form/Container Similar to .Net Docking

Category:
Forms and Controls
Type:
Classes
Difficulty:
Intermediate
Author:
Anonymous

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
The included download is a class which implements behavior similar to the docking property in .Net. It used to automatically resize or position your controls on a form without having to write code in the form_resize event. The class should be declared as a member of the form object and you add the controls to it, ie. the controls you want to be resized/repositioned on the form_resize event.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download demoautomaticcontrolresizer.zip