Click here to Skip to main content
12,403,978 members (64,270 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: VC7.1 VB8.0 VB9.0 C++ C C# VB , +
I have made two forms lets say form1 and form2 and i want form2 to be shown at the bottom of form1 and i want it to be visible when mouse is moving...

Thanks
Only in [vb.net]

http://www.dreamincode.net/forums/topic/280997-problem-dock-form-at-the-bottom-of-another-form/
Posted 28-May-12 10:31am
Updated 28-May-12 11:38am
v3
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

trying using MDI form.

1. In the parent form change the mdicontainer property to true.
2. Now call the second form as formChild.show(formParent).
3. Last in formChild's form load event write me.dock = dockstyles.bottom and ur done.
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

The effect you might want is class Panel

which can exist in a Form

Panel
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 3

1. frmChild.TopLevel = False
2. frmChild.Dock=DockStyle.Fill
2. panel.controls.add(frmChild)
  Permalink  
Comments
CHill60 17-Sep-15 6:17am
   
If you are going to answer old questions make sure you give complete explanations that bring something new to the discussion. Otherwise you will just attract down-votes

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 16 Sep 2015
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100