Web.DBWeb.TDSTableProducer.DoFormatCell
Delphi
procedure DoFormatCell(CellRow, CellColumn: Integer; var BgColor: THTMLBgColor; var Align: THTMLAlign; var VAlign: THTMLVAlign; var CustomAttrs, CellData: string); dynamic;
C++
DYNAMIC void __fastcall DoFormatCell(int CellRow, int CellColumn, Web::Httpprod::THTMLBgColor &BgColor, Web::Httpprod::THTMLAlign &Align, Web::Httpprod::THTMLVAlign &VAlign, System::UnicodeString &CustomAttrs, System::UnicodeString &CellData);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
protected | Web.DBWeb.pas Web.DBWeb.hpp |
Web.DBWeb | TDSTableProducer |
説明
OnFormatCell イベントを生成します。
アプリケーションはこのプロテクトメソッドを呼び出せません。このメソッドは Content メソッドによって内部的に呼び出され,OnFormatCell イベントハンドラが HTML テーブル内のセルの内容や表示属性をカスタマイズできるようにします。CellRow と CellColumn は HTML テーブルとして表されるセルを示します。テーブルヘッダーの CellRow は 0,最初の列の CellColumn は 0 です。BgColor,Align,VAlign,および CustomAttrs は変更可能な表示属性です。CellData はセル内に入るテキストです。
TDSTableProducer の派生オブジェクトは,セルが表現されるときにセルに対する変更を追加したり,OnFormatCell イベントをブロックするために DoFormatCell をオーバーライドできます。