VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Form effect -- Slide a window when closing

by Ehab Mohamed (1 Submission)
Category: Custom Controls/Forms/Menus
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Wed 25th May 2005
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Form effect -- Slide a window when closing

API Declarations


just put the next code in a form and and command button

Rate Form effect -- Slide a window when closing



While frmSlide.Left + frmSlide.Width < Screen.Width
DoEvents
frmSlide.Left = frmSlide.Left + iSpeed
Wend
While frmSlide.Top - frmSlide.Height < Screen.Height
DoEvents
frmSlide.Top = frmSlide.Top + iSpeed
Wend
Unload frmSlide
End Sub
Private Sub Command1_Click()
Call SlideWindow(Form1, 100)
End Sub

Download this snippet    Add to My Saved Code

Form effect -- Slide a window when closing Comments

No comments have been posted about Form effect -- Slide a window when closing. Why not be the first to post a comment about Form effect -- Slide a window when closing.

Post your comment

Subject:
Message:
0/1000 characters