L
locka
Unregistered / Unconfirmed
GUEST, unregistred user!
我设计时创建了一个窗体,那可否另外给它添加一些属性如下:
type
TFrmOpenSave = class(TForm)
private
Ffilename: string;
procedure Setfilename(const Value: string);
published
procedure FilterComboChange(Sender: TObject);
property filename:string read Ffilename write Setfilename;
private
{ Private declarations }
public
{ Public declarations }
end;
这样作执行没问题,不知有没有问题
type
TFrmOpenSave = class(TForm)
private
Ffilename: string;
procedure Setfilename(const Value: string);
published
procedure FilterComboChange(Sender: TObject);
property filename:string read Ffilename write Setfilename;
private
{ Private declarations }
public
{ Public declarations }
end;
这样作执行没问题,不知有没有问题