Use Dock in VC # to layout

xiaoxiao2021-03-06  14

When using Dock to lay out, always encounter a problem, that is, I want this control above the bottom control, but it does not meet this effect, but only forms the form baseline Left . Later, after I tried it. In fact, every control on the form has a "layer" concept. That is, you have built two controls on a form, there is a possibility that a control is on another control. Therefore, it will not achieve the expected effect when dock is generated, which is caused by "layer". Workaround: When you desgin, select a control, right-click and set it, is "presence" or "post". Then reset the DOCK, so you can solve the problem.

转载请注明原文地址:https://www.9cbs.com/read-49581.html

New Post(0)