Make Your Form Implode

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

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
This project will animate your form when closing, or for any event you prefer, and will then keep decreasing the form size until it hits a set number. Once this number is reached, it will unload itself. The sub Command1_Click is an example of its use.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: