Browse Source

Published TnamedItem.Name as in Delphi

git-svn-id: trunk@7362 -
michael 18 years ago
parent
commit
06f27aa25c
1 changed files with 3 additions and 2 deletions
  1. 3 2
      packages/fcl-db/src/db.pas

+ 3 - 2
packages/fcl-db/src/db.pas

@@ -141,9 +141,10 @@ type
   protected
     function GetDisplayName: string; override;
     procedure SetDisplayName(const AValue: string); override;
-  public
-    property Name : string read FName write SetDisplayName;
+  Public  
     property DisplayName : string read GetDisplayName write SetDisplayName;
+  published
+    property Name : string read FName write SetDisplayName;
   end;
 
   { TDefCollection }