Resize Class
Category:
Forms and ControlsType:
ClassesDifficulty:
IntermediateAuthor:
Ran Ben OvedVersion Compatibility: Visual Basic 6, Visual Basic 5
More information:
A simple resize class which will resize all your controls on the form with 2 function calls. The class will also resize the cells of an MSFlexGrid class.
Steps:
1.declare new class instance
dim ResizeForm as new Resize
2.in the form load get the initial size
ResizeForm.Resize_Initilize Me
the Me paramter is the form it self
3.in the form resize event call the Size_Changed
ResizeForm.Size_Changed Me
You must add a reference the the MSFlexGrid control to any project that uses this class, or remove the part of the code that references MSFlexGrid.
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 resize_class.zip