Vcl.DBCtrls.TDataSourceLink.FocusControl
Delphi
procedure FocusControl(Field: TFieldRef); override;
C++
virtual void __fastcall FocusControl(Data::Db::TFieldRef Field);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.DBCtrls.pas Vcl.DBCtrls.hpp |
Vcl.DBCtrls | TDataSourceLink |
Description
Moves input focus to the data field of the TDBLookupControl object.
Applications cannot call the FocusControl procedure. It is called automatically when a field component in the DataSet tries to set focus to a control on the form that represents the field. FocusControl moves focus to the DataField of the TDBLookupControl if it matches the Field parameter.