Vcl.DBGrids.TGridDataLink.FocusControl

提供:RAD Studio API Documentation

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 オブジェクトにエディタを表示するように通知します。

関連項目