浏览代码

* Proper CheckTypeSize check for TWideStringField
* Allow non-zero Size for TNumericField to avoid problems with buggy TDataset descendents

git-svn-id: trunk@9865 -

joost 17 年之前
父节点
当前提交
88dc37a1e3
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      packages/fcl-db/src/base/db.pas

+ 1 - 0
packages/fcl-db/src/base/db.pas

@@ -494,6 +494,7 @@ type
     FDisplayFormat : String;
     FEditFormat : String;
   protected
+    class procedure CheckTypeSize(AValue: Longint); override;
     procedure RangeError(AValue, Min, Max: Double);
     procedure SetDisplayFormat(const AValue: string);
     procedure SetEditFormat(const AValue: string);