更新时间:2023-12-06 10:15:58
这是不正确的:
fForm := Form11.Create(Self)
应该是这样的:
fForm := TForm11.Create(Self)
即 TForm11
,而不是 Form11
。要创建对象,必须通过类调用构造函数。
That is, TForm11
, not Form11
. To create an object, you have to call the constructor via the class.