浏览代码

* Make THTMLDatasetFormProducer.Controls and .ButtonRow streamable for usage with Lazarus

git-svn-id: trunk@8079 -
joost 18 年之前
父节点
当前提交
b03a908438
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      packages/fcl-web/src/fpdatasetform.pp

+ 2 - 2
packages/fcl-web/src/fpdatasetform.pp

@@ -301,11 +301,11 @@ type
       // method of the form, Get or Post
     Property DataSource : TDataSource read FDataSource write FDataSource;
       // the data to use
-    property Controls : TFormFieldCollection read FControls;
+    property Controls : TFormFieldCollection read FControls write FControls;
       // configuration of the fields and how to generate the html
     property SeparateLabel : boolean read FSeparateLabel write SetSeparateLabel;
       // place label and value/edit in same table cell
-    property buttonrow : TFormButtonCollection read Fbuttonrow;
+    property buttonrow : TFormButtonCollection read Fbuttonrow write Fbuttonrow;
       // buttons to place in the form
     property TableCols : integer read FTableCols write FTableCols default 2;
       // number columns in the grid for 1 record