mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 20:09:18 +02:00
* DisplayName should not set name
git-svn-id: trunk@25619 -
This commit is contained in:
parent
50b9b65395
commit
1f0c70508f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user