RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataSourceLink.FocusControl Method

Moves input focus to the data field of the TDBLookupControl object.

Pascal
procedure FocusControl(Field: TFieldRef); override;
C++
virtual __fastcall FocusControl(TFieldRef Field);

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!