Zelaron Gaming Forum

Zelaron Gaming Forum (http://zelaron.com/forum/index.php)
-   Opinion and Debate (http://zelaron.com/forum/forumdisplay.php?f=332)
-   -   Screen Wipe (http://zelaron.com/forum/showthread.php?t=18879)

DellDo 2003-06-28 11:25 AM

Screen Wipe
 
Sub WipeRight (Lt%, Tp%, frm As Form)
Dim s, Wx, Hx, i
s = 90 'number of steps To use In the wipe
Wx = frm.Width / s 'size of vertical steps
Hx = frm.Height / s 'size of horizontal steps
' top and left are static
' while the width gradually shrinks


For i = 1 To s - 1
frm.Move Lt, Tp, frm.Width - Wx
Next
End Sub
Call the routine from a command button by using this code:
L = Me.Left
T = Me.Top
WipeRight L, T, Me

Xenn 2003-06-28 11:39 AM

You double posted :/


All times are GMT -6. The time now is 08:20 PM.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.