英文:
RAD Studio - C++ Builder 11.3 / Delphi - Design View - Change form size without moving controls that are anchored?
问题
Sure, here's the translation of the text you provided:
有时候我需要调整对话框的大小以添加更多的控件。是否有内置的方法来调整大小,以便锚定的控件不会移动?类似按住某些键,比如Shift、Ctrl或Shift-Ctrl等,然后移动?而不是不得不为所有控件禁用右侧或底部的锚定,然后再次启用它们。
TIA!!
英文:
Sometimes I need to adjust the Dialog size to add more controls. Is there a built-in way to resize it so the anchored controls don't move as well. Something like hold some shift, ctrl or shift-ctrl, etc.. while moving? Instead of having to disable the right or bottom anchor for all the controls then enabling them again.
TIA!!
答案1
得分: 2
以下是翻译好的部分:
一种选择是不使用设计视图。右键单击表单,选择查看为文本或<kbd>Alt</kbd><kbd>F12</kbd>以在表单和文本视图之间切换并在那里修改尺寸。在文本视图中更改表单尺寸不会更新已锚定控件的位置。
英文:
One option is to not use design view. Right click the form and View as Text or <kbd>Alt</kbd><kbd>F12</kbd> to toggle between form and text view and modify dimensions there. Changing the form dimensions in text view does not update the position of anchored controls.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论