|
-
Nov 30th, 1999, 07:00 PM
#1
Thread Starter
New Member
I want to make a form fade away gradually
and another form appear gradually?
How can I do it? By Windows API?
Or another way?
You can eamil me at [email protected]
Thanks for your help.
-
Dec 1st, 1999, 04:18 AM
#2
Hyperactive Member
the aim is not verry clearly explained...i mean how do u wish the form to fade away ??
1 - random pixels?
2 - shrinking form?
for random pixels i dont havew any idea for now but the the second alternativ u can paste the following code into a form :
Private Sub Command1_Click()
Timer1.Enabled = True
Timer1.Interval = 1
Form2.Show
End Sub
Private Sub Timer1_Timer()
If Form1.Height=405 And form1.Width=1680 Then
Timer1.Enabled = False
form1.visible = false
end if
Form1.Height = Form1.Height - 300
Form1.Width = Form1.Width - 300
End Sub
this code will reduce the size of form1 until it gets unreducable and then hides it
u can do the inverse to make the other form appear gradually ... i hope this was what u were looking for ..
note : create on the form a timer and a command button
- regards -
- razzaj -
-
Dec 1st, 1999, 07:00 AM
#3
Thread Starter
New Member
I mean I hope to make a form fade-out and
another form fade-in. Thanks for your
advice.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|