VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Add-In: 4 mode Resizer

by PeYTaN (1 Submission)
Category: Complete Applications
Compatability: Visual Basic 5.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (4 Votes)

This is an (in my opinion) great add-in for adding resizing capabilities to your projects. It is based on the class ControlResizer from Edward Catchpole (you can find it on https://www.vbcoders.com/vb/scripts/ShowCode.asp?txtCodeId=46203&lngWId=1). I have changed it a little but so you can set a minimum width/height for your form and when you are setting properties for an MDI Child, it first sets the height and width to the ones you used in design-time. Also I have changed the way of proportionally resizing things, because it just didn't work for me. Now it does. I hope you take time to look at this code, leave comments and benefit from it (this is the best thing I have seen that is 100% free so far). Updates are coming up.

Inputs
All you have to do is click.
Assumes
Ok, for rblanch, here is how to use the code: Your open the project and compile it Then you have to restart your VB6 instance or goto Add-Ins|Add-In Manager... and double click Resizer Add-In Now you will have a menu-item called Resizer Add-In in the menu Add-Ins Click that item and the window will appear, listing all your forms,his containers, and the controls of that container. For every form you want to resize, click 'Add Necessary Code',for every control click what has to be resized. Don't bother click 'Not', just click what has to be resized, the Not will automatically be filled in
Side Effects
I have noticed the height of listboxes doesn't resize well.

Rate Add-In: 4 mode Resizer

Download Add-In: 4 mode Resizer

Download Add-In: 4 mode Resizer (11 KB)

Add-In: 4 mode Resizer Comments

No comments have been posted about Add-In: 4 mode Resizer. Why not be the first to post a comment about Add-In: 4 mode Resizer.

Post your comment

Subject:
Message:
0/1000 characters