README.md

December 4, 2022 ยท View on GitHub

Form Trick

Description

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:

More Info

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:

Submitted On
BySeeD
LevelUnknown
User Rating4.1 (181 globes from 44 users)
CompatibilityVB 3.0, VB 4.0 (16-bit), VB 4.0 (32-bit), VB 5.0, VB 6.0
CategoryMiscellaneous
WorldVisual Basic
Archive File

Source 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: