• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 213
  • Last Modified:

VB.net Visual Studio 2008 - panel and other objects keep slipping to the bottom of form

Hi

On my Windows form in Visual Studio 2008 my panel, button and other objects kep slipping
to the bottom of the form. The form is very long. I keep on having to drag the controls to the top of the form. I am not sure how to stop this happening.

Thanks
0
Murray Brown
Asked:
Murray Brown
  • 2
1 Solution
 
eferronCommented:
Check the anchor and dock properties make sure the dock property is set to none
0
 
Fernando SotoCommented:
Hi murbro;

If this is a problem you are having in design mode what you can do is select all the controls that you wish not to move while in design mode and go to the properties window and set the Locked to true. This will not allow the control to be moved from its position. If you later need to place a control that is Locked, select the control and set its Locked to false and the control will be free to be moved around again.

Fernando
0
 
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
Great answer. Thank you very much! Thanks also for the input efferon, but I had done both things you said before and didn't help
0
 
Fernando SotoCommented:
Not a problem, glad I was able to help.  ;=)
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now