• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 218
  • 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 SotoRetiredCommented:
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 SotoRetiredCommented:
Not a problem, glad I was able to help.  ;=)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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