README.md

December 4, 2022 ยท View on GitHub

Resizer Reupload

Description

This class resizes ALL the controls on a form in just two lines of code. No API, no OCX, just a simple class, very easy to use. It tests if a control is resizable, and when ok, the control (and optionally the font) will be resized everytime the form is resized. I have noticed that the clsresizer class has to be compiled if a dll is not found...

usage :

make a new instance of the class

dim r as new resizer

in form_load :

r.ResizeFonts = True (optional, this line starts the font resizing)

set r.frmToSize = me 'Required

r.AddItemNotToResize "command1" (optional : do not resize command1)

...

end sub

in form_resize :

r.adjustSize 'resizes the controls (and the fonts if selected)

that's all!

optional : r.ResetForm(when dragging / dropping ) ...

-> Get the new sizes (does not resize a control (to return to original sizes use r.adjustsize instead)

More Info

Submitted On2002-06-13 08:44:24
BySven Maes
LevelIntermediate
User Rating5.0 (10 globes from 2 users)
CompatibilityVB 5.0, VB 6.0
CategoryVB function enhancement
WorldVisual Basic
Archive FileResizer_Re938566132002.zip