* DisplayName should not set name

git-svn-id: trunk@25619 -
This commit is contained in:
michael 2013-10-02 07:52:30 +00:00
parent 50b9b65395
commit 1f0c70508f

View File

@ -435,16 +435,20 @@ end;
function TCustomWebAction.GetDisplayName: String;
begin
If (FName='') then
FName:=ClassName+IntToStr(self.Index);
Result:=FName;
If (Result='') then
begin
Result:=ClassName+IntToStr(self.Index);
if Result[1]='T' then
Delete(Result,1,1)
end;
end;
Function TCustomWebAction.GetNamePath : String;
begin
If (FName='') then
FName:=ClassName+IntToStr(self.Index);
Result:=FName;
If (Result='') then
FName:=ClassName+IntToStr(self.Index);
end;
procedure TCustomWebAction.SetDisplayName(const AValue: String);