2

我使用 TScaledLayout 作为背景,在我加载项目几次后,所有可视组件都变得不可见,它们在那里并且可以正常编译和运行,但我无法让它们再次变得可见。现在已经发生了 4 次,每次都必须恢复到备份。

4

1 回答 1

1

I have encountered quite a few bugs in the IDE when using Firemonkey - it is nowhere near as reliable as VCL (yet). In particular the '.lfm' and '.pas' can become unsynchronised, so that there are components in the lfm, which are defined not in the pas file.

This doesn't seem to affect runtime but sure can be confusing when you are coding... Try checking to see that all of the components in the lfm are also defined on the form. There also seems to a few issues surrounding form inheritance, where you just have to do a lot of things manually as changes to ancestors are often not picked up by descendants.

Also note that most Firemonkey components also now have a property called 'DesignVisible'. Check to see that this is set correctly.

于 2011-12-08T02:31:26.160 回答