Results 1 to 4 of 4

Thread: docking forms

  1. #1

    Thread Starter
    Frenzied Member markman's Avatar
    Join Date
    Nov 2000
    Location
    Florida.
    Posts
    1,197

    docking forms

    I want to dock one form to the bottom of the main form.
    The problem is:
    I want the docking form to stay a certain distance away from the main form, but still act locked there. How would I do this?
    retired member. Thanks for everything

  2. #2
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    easy way...set a Timer
    VB Code:
    1. Private Sub Timer1_Timer()
    2.   frmTwo.Left = frmMain.Left
    3.   frmTwo.Top = frmMain.Top+frmMain.Height+50
    4. End Sub

    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  3. #3

    Thread Starter
    Frenzied Member markman's Avatar
    Join Date
    Nov 2000
    Location
    Florida.
    Posts
    1,197
    But how do I make it snap there?
    The 2nd form should be able to move then snap in place.
    retired member. Thanks for everything

  4. #4

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