Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't Move Controls With Mouse on Windows Form Designer

I recently installed Visual Studio 2013 Professional, and found that in the Windows Forms Application project type I'm unable to move any controls on a form in design mode. I tested a few alternatives out and found the following:

  • Controls can be moved with the keyboard
  • Controls can be resized by dragging the keypoints on the outline of the control
  • Controls can be aligned using the commands in the Tools menu
  • Controls can be moved by setting the Location field manually in the designer property grid
  • Controls can be docked
  • Controls cannot be moved with the mouse

Furthermore, as you can see in the image below, the "cross" icon that indicates that the controls are movable is not visible on any controls.

A form showing no visible cross icon

I've tried the following, but have not yet been able to correct the issue:

  • Created a new project & solution (same issue)
  • Created a new form (same issue)
  • Verified that the Locked property of both the form and controls is set to False
  • Verified that the form inherits from Form (as expected, as this is a standard installation and the first time I've used it)
  • Googled for help (nothing that worked)

Any suggestions would be appreciated.

like image 472
Brett Wolfington Avatar asked Apr 07 '14 23:04

Brett Wolfington


People also ask

How do you move controls in asp net at design time?

now you can move your table with controls by mouse drag as per windows appln. otherwise you can only move your control by hitting the space and enter key. Hi, In ASP.Net 2.0, by default it uses flow layout which as you said puts each control next to each other.

What provides a set of tools that you use at design time to place controls on a form?

NET Framework provides a wealth of control authoring technology. Authors are no longer limited to designing composite controls that act as a collection of preexisting controls. Through inheritance, you can create your own controls from preexisting composite controls or preexisting Windows Forms controls.


2 Answers

It took some time but I finally found a workaround, if not an answer. As it happens, periodically my computer will stop allowing me to drag-and-drop anything. The solution to this is to press the Esc (escape) key, which instantly restores functionality.

like image 116
Brett Wolfington Avatar answered Sep 20 '22 06:09

Brett Wolfington


I had this happening using multiple monitors. Move VS to the main monitor (1) and all will work fine. Greetz

like image 45
Mario Favere Avatar answered Sep 23 '22 06:09

Mario Favere