Delphi 7 forms, anchors not working in Vista

后端 未结 6 691
失恋的感觉
失恋的感觉 2020-12-30 06:08

The software is built on Delphi 7.

On my XP machine, the form resizes as I expect. However, on two Vista machines, I have components with anchors set to [akLeft, akT

6条回答
  •  有刺的猬
    2020-12-30 06:47

    Before anchors were introduced in Delphi 4, we resized components dynamically to achieve the same effect. You can easily move/adjust the components in the form's onresize event.

    Setting the form's doublebuffered property to true may reduce flicker, by buffering the paint method. I recall we used to have to implement that ourselves, too!

提交回复
热议问题