Vcl.DBGrids.TGridDataLink.FocusControl
Delphi
procedure FocusControl(Field: TFieldRef); override;
C++
virtual void __fastcall FocusControl(Data::Db::TFieldRef Field);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
protected | Vcl.DbGrids.pas Vcl.DBGrids.hpp |
Vcl.DBGrids | TGridDataLink |
説明
エディタを表示して TCustomDBGrid オブジェクト内の項目コントロールにフォーカスを与えます。
FocusControl 手続きを呼び出すと,TCustomDBGrid オブジェクトの Field にエディタを表示します。FocusControl は TCustomDBGrid オブジェクトの Field を選択してから,TCustomDBGrid オブジェクトにエディタを表示するように通知します。