type TTeam_id=class
private
F_Team_Id:String;
Procedure wF_Team_id(const Str:String)
//写过程总要有参数吧
public
property Team_id:string read F_Team_Id write wF_Team_Id;
end;
procedure TTeam_id.wF_Team_id(const Str: String);
begin
F_Team_Id:=Str;
end;
>最好是从TObject类继承
Delphi中哪一个类不是从它继承的??这就是Object Pascal和C++的重要区别之一。