* Strip prefix off name in allocatename

git-svn-id: trunk@38373 -
This commit is contained in:
michael 2018-02-28 09:17:33 +00:00
parent 70523f1b58
commit 1c36ce2605

View File

@ -5509,6 +5509,10 @@ Var
begin
BaseName:=ClassName;
If SameText(Copy(BaseName,1,9),'TFPReport') then
Delete(BaseName,1,9)
else If SameText(Copy(BaseName,1,1),'T') then
Delete(BaseName,1,1);
I:=1;
Repeat
Result:=BaseName+IntToStr(I);