Property ClientHeight does not exist 问题解决

delphi的TFrame继承自另一个TFrame时,最好通过File->New->Other...->Delphi Projects->Inheritable Items 的方式继承,否则可能会报

 Property ClientHeight does not exist 错误。

 下图为手动继承和通过IDE继承生成的 dfm文件的差别,所以也可以通过修改dfm解决这个问题。

原文地址:https://www.cnblogs.com/igaoshang/p/ClientHeightError.html