Vcl.DBGrids.TCustomDBGrid.DrawDataCell
Delphi
procedure DrawDataCell(const Rect: TRect; Field: TField; State: TGridDrawState); dynamic; { obsolete }
C++
DYNAMIC void __fastcall DrawDataCell(const System::Types::TRect &Rect, Data::Db::TField* Field, Vcl::Grids::TGridDrawState State);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
protected | Vcl.DbGrids.pas Vcl.DBGrids.hpp |
Vcl.DBGrids | TCustomDBGrid |
説明
OnDrawDataCell イベントを生成します。
アプリケーションでは直接 DrawDataCell メソッドを呼び出すことはできません。DrawColumnCell はプロテクトメソッドとしてエクスポーズされているので,派生メソッドが OnDrawDataCell イベントハンドラを呼び出すか,あるいは DrawColumnCell をオーバーライドしてイベントをブロックすることができます。