J
jjaacc
Unregistered / Unconfirmed
GUEST, unregistred user!
代码如下:
class A = class(TObject)
private
FUserName: string;
property UserName: string Read GetUserName Write SetUserName;
end;
procedure TA.SetUserName(AUserName: string);
begin
FUserName := AUserName;
end;
function TA.GetUserName(): string;
begin
Result := FUserName;
end;
为什么这里我无法写入USERNAME同时也无法得到USERNAME呢?谢谢
class A = class(TObject)
private
FUserName: string;
property UserName: string Read GetUserName Write SetUserName;
end;
procedure TA.SetUserName(AUserName: string);
begin
FUserName := AUserName;
end;
function TA.GetUserName(): string;
begin
Result := FUserName;
end;
为什么这里我无法写入USERNAME同时也无法得到USERNAME呢?谢谢