'---
Dim i As Long
Me.Top = (Screen.Height / 2) - (Me.Height / 2)
Me.Left = (Screen.Width / 2) - (Me.Width / 2)
For i = Me.Left To (Screen.Width / 2) Step 10
Me.Height = Me.Height - 15
Me.Width = Me.Width - 20
Me.Left = Me.Left + 100
DoEvents
Next
Unload Me
'---
Sunday, September 19, 2010
Cool Form Closing Effect
Just a snippet I wrote. Put this code in Form Unload event to test.
Subscribe to:
Post Comments (Atom)
Hello
Would try to update this blog from now. many links are broken like platnet source code and many websites shutdown.
-
Here are the steps on how to Install Visual Basic 6.0 on Windows Vista, Windows 7, Windows 8, Windows 8.1 and Windows 10. These Steps are v...
-
There has been recent news about Adobe Flash Control causing problem in VB6 projects. The last version of flash which didnt had any problem...
-
Here is a list of few very useful VB6 Addins which provides many features. vbAdvance vbAdvance is a Visual Basic Add-In which gives acc...
Cool. & thanks for the Flash fix!
ReplyDeleteThank you for keeping VB6 alive!
ReplyDeleteHello mate, great blog.
ReplyDelete