Results 1 to 3 of 3

Thread: Dockable Form

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2000
    Location
    Højslev, None, Denmark
    Posts
    75

    Cool

    How do you make a form dockable on another form, like Winamp?
    Queen ROCKS!!!!!

  2. #2
    Guest
    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,

  3. #3
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221

    Thumbs up

    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
  •  



Click Here to Expand Forum to Full Width