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