Web.DBWeb.TDataSetTableProducer.TableAttributes
Delphi
property TableAttributes: THTMLTableAttributes read FTableAttributes write SetTableAttributes;
C++
__property TableAttributes;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
property | published | Web.DBWeb.pas Web.DBWeb.hpp |
Web.DBWeb | TDataSetTableProducer |
説明
TDSTableProducer が作成する HTML テーブル全体に対する表示属性を指定します。
Web.DBWeb.TDataSetTableProducer.TableAttributes は Web.DBWeb.TDSTableProducer.TableAttributes を継承しています。以下の内容はすべて Web.DBWeb.TDSTableProducer.TableAttributes を参照しています。
TDSTableProducer が作成する HTML テーブル全体に対する表示属性を指定します。
HTML の TABLE タグの表示属性を記述する THTMLTableAttributes オブジェクトを TableAttributes に設定します。TableAttributes を設定すると,TDSTableProducer によって内部的に格納された THTMLTableAttributes オブジェクトの Assign メソッドが呼び出されます。したがって,TableAttributes プロパティに割り当てられたテーブル属性オブジェクトのメモリは TDSTableProducer によって所有されたり解放されたりすることはありません。
メモ: テーブル属性オブジェクトが別のテーブル属性オブジェクトに割り当てられる場合,すべてのプロパティがコピーされるわけではありません。TableAttributes によって表されるすべての属性を正しく設定するには,TableAttributes を読み出して THTMLTableAttributes オブジェクトの個々のプロパティを設定してください。