VB6中无法移动控件
我正在 VB6 中开发一个小项目,并尝试调整设计视图中控件的位置和大小。但它们不会移动或调整大小;一个人抓住小把手,却什么也没有发生。有谁知道为什么,以及该怎么办?
I'm working on a small project in VB6, and am trying to fiddle with the positions and sizes of the controls in the Design View. But they won't move or resize; one grabs the little handles and nothing happens. Does anyone know why, and what to do about it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
尝试右键单击表单(不是其中的任何控件)并取消选中“锁定控件”。
该选项也可以在标准工具栏的末尾找到,锁定时如下所示:
Try right-clicking on your form (not any of the controls on it,) and unchecking Lock Controls.
The option can also be found at the end of the standard toolbar, and will look like this when locked:
表格是只读的吗?这可能会阻止您调整大小。
您可能想要检查整体选项(可能已打开对齐网格,这会阻止非常小的更改。)
Is the form read-only? This might prevent you from resizing.
You might want to check the overall options (might have snap to grid on, which would prevent very small changes.)