且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何防止Firemonkey复合组件中的子组件重复?

更新时间:2023-10-11 20:14:10

保存表单时(从IDE中)所有控件及其所有子级均被保存。如果您的控件创建了自己的子代,则需要设置Stored = False来防止它们被IDE流化。

When you save a form (from the IDE) all controls and all their children are saved. If your control creates it's own children then you need to set Stored = False to prevent them being streamed by the IDE.