Vcl.DBGrids.TCustomDBGrid.OnDrawDataCell
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 イベントハンドラを作成してください。