Tools Links Login

Form Trick

When your user closes your form, it shrinks and slowly drifts off the screen in the direction of YOUR choice! (o: A simple code! (o:

Original Author: SeeD

Assumptions

OK, do this:
1) Start up a new project in your Vb.
2) Add a timer - set it's interval to 2
3) Add the code below to the timer. (o:

Code

'Add this to the timers code area.
Form1.Width = Form1.Width - 30
Form1.Height = Form1.Height - 30
Form1.Top = Form1.Top + 50
Form1.Left = Form1.Left + 5
'Feel free to alter this code, this is merely an example to be customized. (o:

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 87 times

Categories

Visual Basic 6

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.