Vcl.DBGrids.TDBGrid.OnDrawDataCell

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

property OnDrawDataCell: TDrawDataCellEvent read FOnDrawDataCell write FOnDrawDataCell;

C++

__property OnDrawDataCell;

プロパティ

種類 可視性 ソース ユニット
event published
Vcl.DbGrids.pas
Vcl.DBGrids.hpp
Vcl.DBGrids TDBGrid

説明

Columns の State プロパティが csDefault で,グリッドがセルを描画しなければならないときに発生します。

Vcl.DBGrids.TDBGrid.OnDrawDataCell は Vcl.DBGrids.TCustomDBGrid.OnDrawDataCell を継承しています。以下の内容はすべて Vcl.DBGrids.TCustomDBGrid.OnDrawDataCell を参照しています。

Columns の State プロパティが csDefault で,グリッドがセルを描画しなければならないときに発生します。

この OnDrawDataCell イベントハンドラを作成しないでください。OnDrawDataCell は旧式であり,下位互換性を保つために用意されています。かわりに OnDrawColumnCell イベントハンドラを作成してください。

関連項目