|
-
Oct 30th, 2000, 04:00 AM
#1
Thread Starter
Lively Member
How do you make a form dockable on another form, like Winamp?
-
Oct 30th, 2000, 05:33 AM
#2
Again, the simplest way is to use timer.
Code:
Private Sub Timer1_Timer ()
' Set interval to 1
' If you want to keep form2 below form1
Form2.Move Form1.Left, Form1.Top + Form1.Height
End Sub
You can add another timer which calls timer1 to get it smoothier:
Code:
Private Sub Timer2_Timer ()
' Set interval to 1
' Call timer1
Call Timer1_Timer
End Sub
Hope this helps,
-
Oct 30th, 2000, 06:52 AM
#3
transcendental analytic
Go to my homepage, I just got ready with my form docking demo! Hehe, yep this is the real Winamp-type of docking not any other bullshit.
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
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
|