Vcl.DBGrids.TCustomDBGrid.OnDrawDataCell

提供:RAD Studio API Documentation

Delphi

property OnDrawDataCell: TDrawDataCellEvent read FOnDrawDataCell

C++

__property TDrawDataCellEvent OnDrawDataCell = {read=FOnDrawDataCell, write=FOnDrawDataCell};

プロパティ

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

説明

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

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

関連項目