P
pcgod
Unregistered / Unconfirmed
GUEST, unregistred user!
type
TForm3 = class(TForm)
Button1: TButton;
i : Integer ; //
procedure FormCreate(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
k : Integer ;
end;
保存时就提示删掉 i 的定义 ,编译提示 :
[Error] Unit3.pas(12): Published field 'i' not a class nor interface type
请问为什么 ? 这两种接口有什么不同 ? 谢谢
TForm3 = class(TForm)
Button1: TButton;
i : Integer ; //
procedure FormCreate(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
k : Integer ;
end;
保存时就提示删掉 i 的定义 ,编译提示 :
[Error] Unit3.pas(12): Published field 'i' not a class nor interface type
请问为什么 ? 这两种接口有什么不同 ? 谢谢