What does TDataModule.ClassGroup pseudo-property in Delphi XE2 really do?

故事扮演 提交于 2019-12-05 13:21:29

I think it is pretty obviously what its intended use is for, and the documentation you link to is pretty entensive about that purpose. It is meant to prevent VCL-only components from being placed on a FireMonkey-accessible DataModule, and vice versa. Since TDataModule is initially framework-neutral, only framework-neutral components can be placed on it. So obviously, your source DataModule has a different affinity than your new DataModule, which is why copy/paste does not work until you change the affinity of the new DataModule to match the affinity of the source DataModule.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!