Cannot move controls in the tablelayoutpanel in vb.net

时间:2016-07-11 21:13:57

标签: vb.net

I am using visual studio 2013. So far I have a tablelayoutpanel in the Form1.vb[design], I dragged a Textbox(control) from the Toolbox, but I could not move the textbox within the tablelayoutpanel. What happenes here? How could I get around with it? Any hint will be appreciated.

2 个答案:

答案 0 :(得分:1)

当我尝试使用TableLayoutPanel时,我也遇到了同样的问题。 我无法弄清楚代码中可能导致这种奇怪行为的任何变化,但却找到了解决办法。重启Visual Studio! :P

这实际上有所帮助,我可以将我的控件移动到TableLayoutPanel中的任何位置。

答案 1 :(得分:0)

在属性中,将“锚点”更改为“无”。